org.directwebremoting.dwrp
Class ObjectJsonOutboundVariable

java.lang.Object
  extended by org.directwebremoting.dwrp.JsonNestedOutboundVariable
      extended by org.directwebremoting.dwrp.ObjectJsonOutboundVariable
All Implemented Interfaces:
MapOutboundVariable, OutboundVariable

public class ObjectJsonOutboundVariable
extends JsonNestedOutboundVariable
implements MapOutboundVariable

An OutboundVariable that creates data from Maps.

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

Constructor Summary
ObjectJsonOutboundVariable()
           
 
Method Summary
 java.lang.String getAssignCode()
          A short script that can be used to refer to this variable
 void setChildren(java.util.Map<java.lang.String,OutboundVariable> children)
          Recursive OutboundVariable need to be given their children after construction because we need to check for potentially recursive conditions.
 java.lang.String toString()
           
 
Methods inherited from class org.directwebremoting.dwrp.JsonNestedOutboundVariable
getBuildCode, getDeclareCode, getReferenceVariable, prepareAssignCode, prepareBuildDeclareCodes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.directwebremoting.extend.OutboundVariable
getBuildCode, getDeclareCode, getReferenceVariable, prepareAssignCode, prepareBuildDeclareCodes
 

Constructor Detail

ObjectJsonOutboundVariable

public ObjectJsonOutboundVariable()
Method Detail

setChildren

public void setChildren(java.util.Map<java.lang.String,OutboundVariable> children)
Description copied from interface: MapOutboundVariable
Recursive OutboundVariable need to be given their children after construction because we need to check for potentially recursive conditions.

Specified by:
setChildren in interface MapOutboundVariable
Parameters:
children - The contained objects

getAssignCode

public java.lang.String getAssignCode()
Description copied from interface: OutboundVariable
A short script that can be used to refer to this variable

Specified by:
getAssignCode in interface OutboundVariable
Returns:
Returns the assignCode.

toString

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

Copyright ¬ 2005