org.directwebremoting.dwrp
Class ArrayNonJsonOutboundVariable
java.lang.Object
org.directwebremoting.dwrp.NonJsonNestedOutboundVariable
org.directwebremoting.dwrp.ArrayNonJsonOutboundVariable
- All Implemented Interfaces:
- CollectionOutboundVariable, OutboundVariable
public class ArrayNonJsonOutboundVariable
- extends NonJsonNestedOutboundVariable
- implements CollectionOutboundVariable
An OutboundVariable that creates data from Collections.
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
|
Method Summary |
void |
prepareAssignCode()
Things work out if they are doubly referenced during the conversion
process, and can't be sure how to create output until that phase is done. |
void |
prepareBuildDeclareCodes()
Create build and declare codes. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ArrayNonJsonOutboundVariable
public ArrayNonJsonOutboundVariable(OutboundContext outboundContext)
- Setup
- Parameters:
outboundContext - A collection of objects already converted and the results
prepareAssignCode
public void prepareAssignCode()
- Description copied from interface:
OutboundVariable
- Things work out if they are doubly referenced during the conversion
process, and can't be sure how to create output until that phase is done.
This method creates the assign code such that other variables can
refer to us when creating build and declare codes
- Specified by:
prepareAssignCode in interface OutboundVariable
prepareBuildDeclareCodes
public void prepareBuildDeclareCodes()
- Description copied from interface:
OutboundVariable
- Create build and declare codes.
- Specified by:
prepareBuildDeclareCodes in interface OutboundVariable
- See Also:
OutboundVariable.prepareAssignCode()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object