org.directwebremoting.dwrp
Class ArrayJsonOutboundVariable

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

public class ArrayJsonOutboundVariable
extends JsonNestedOutboundVariable
implements CollectionOutboundVariable

An OutboundVariable that creates data from Collections.

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

Constructor Summary
ArrayJsonOutboundVariable()
           
 
Method Summary
 java.lang.String getAssignCode()
          A short script that can be used to refer to this variable
 void setChildren(java.util.Collection<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

ArrayJsonOutboundVariable

public ArrayJsonOutboundVariable()
Method Detail

setChildren

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

Specified by:
setChildren in interface CollectionOutboundVariable
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