org.directwebremoting.dwrp
Class ObjectOutboundVariable
java.lang.Object
org.directwebremoting.dwrp.AbstractOutboundVariable
org.directwebremoting.dwrp.ObjectOutboundVariable
- All Implemented Interfaces:
- OutboundVariable
public class ObjectOutboundVariable
- extends AbstractOutboundVariable
- implements OutboundVariable
An OutboundVariable that creates data from Maps.
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
Method Summary |
void |
init(java.util.Map aOvs,
java.lang.String aScriptClassName)
Generate an map declaration for a map of Outbound variables |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObjectOutboundVariable
public ObjectOutboundVariable(OutboundContext outboundContext)
- Setup
- Parameters:
outboundContext
- A collection of objects already converted and the results
init
public void init(java.util.Map aOvs,
java.lang.String aScriptClassName)
- Generate an map declaration for a map of Outbound variables
- Parameters:
aOvs
- The map of the converted contentsaScriptClassName
- The object name or null for pure(ish) json
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object