org.directwebremoting.dwrp
Class ArrayOutboundVariable
java.lang.Object
org.directwebremoting.dwrp.AbstractOutboundVariable
org.directwebremoting.dwrp.ArrayOutboundVariable
- All Implemented Interfaces:
- OutboundVariable
public class ArrayOutboundVariable
- extends AbstractOutboundVariable
- implements OutboundVariable
An OutboundVariable that creates data from Collections.
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ArrayOutboundVariable
public ArrayOutboundVariable(OutboundContext outboundContext)
- Setup
- Parameters:
outboundContext
- A collection of objects already converted and the results
init
public void init(java.util.List aOvs)
- Generate an array declaration for a list of Outbound variables
- Parameters:
aOvs
- The list of contents of this array
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