org.directwebremoting.dwrp
Class SimpleOutboundVariable

java.lang.Object
  extended by org.directwebremoting.dwrp.AbstractOutboundVariable
      extended by org.directwebremoting.dwrp.SimpleOutboundVariable
All Implemented Interfaces:
OutboundVariable

public class SimpleOutboundVariable
extends AbstractOutboundVariable
implements OutboundVariable

An OutboundVariable that can not be recursive.

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Nested Class Summary
 
Nested classes/interfaces inherited from class org.directwebremoting.dwrp.AbstractOutboundVariable
AbstractOutboundVariable.NotInlineDefinition
 
Constructor Summary
SimpleOutboundVariable(java.lang.String code, OutboundContext outboundContext, boolean forceInline)
          Default ctor that leaves blank (not null) members
 
Method Summary
protected  java.lang.String getInlineDefinition()
          Define the definition we should use if we are being used inline
protected  AbstractOutboundVariable.NotInlineDefinition getNotInlineDefinition()
          Define the definition we should use if we are being used not inline
 java.lang.String toString()
           
 
Methods inherited from class org.directwebremoting.dwrp.AbstractOutboundVariable
forceInline, getAssignCode, getBuildCode, getDeclareCode, getReferenceVariable, getVariableName, setChildren, toStringDefinitionHint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.directwebremoting.extend.OutboundVariable
getAssignCode, getBuildCode, getDeclareCode, getReferenceVariable
 

Constructor Detail

SimpleOutboundVariable

public SimpleOutboundVariable(java.lang.String code,
                              OutboundContext outboundContext,
                              boolean forceInline)
Default ctor that leaves blank (not null) members

Parameters:
code - the access for the inited code
outboundContext - The conversion context
forceInline - true to force inline status, false to let the system decide
Method Detail

getNotInlineDefinition

protected AbstractOutboundVariable.NotInlineDefinition getNotInlineDefinition()
Description copied from class: AbstractOutboundVariable
Define the definition we should use if we are being used not inline

Specified by:
getNotInlineDefinition in class AbstractOutboundVariable
Returns:
an out of line definition

getInlineDefinition

protected java.lang.String getInlineDefinition()
Description copied from class: AbstractOutboundVariable
Define the definition we should use if we are being used inline

Specified by:
getInlineDefinition in class AbstractOutboundVariable
Returns:
an inline definition

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object