org.directwebremoting.dwrp
Class ArrayOutboundVariable

java.lang.Object
  extended by org.directwebremoting.dwrp.AbstractOutboundVariable
      extended by 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]

Constructor Summary
ArrayOutboundVariable(OutboundContext outboundContext)
          Setup
 
Method Summary
 void init(java.util.List aOvs)
          Generate an array declaration for a list of Outbound variables
 java.lang.String toString()
           
 
Methods inherited from class org.directwebremoting.dwrp.AbstractOutboundVariable
getAssignCode, getBuildCode, getDeclareCode, getReferenceVariable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.directwebremoting.extend.OutboundVariable
getAssignCode, getBuildCode, getDeclareCode, getReferenceVariable
 

Constructor Detail

ArrayOutboundVariable

public ArrayOutboundVariable(OutboundContext outboundContext)
Setup

Parameters:
outboundContext - A collection of objects already converted and the results
Method Detail

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

toString

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

Copyright ? 2005