com.google.gwt.rpc.client.ast
Class ArrayValueCommand

java.lang.Object
  extended by com.google.gwt.rpc.client.ast.RpcCommand
      extended by com.google.gwt.rpc.client.ast.ValueCommand
          extended by com.google.gwt.rpc.client.ast.IdentityValueCommand
              extended by com.google.gwt.rpc.client.ast.ArrayValueCommand

public class ArrayValueCommand
extends IdentityValueCommand

Encapsulates an array of values.


Constructor Summary
ArrayValueCommand(java.lang.Class<?> componentType)
           
 
Method Summary
 void add(ValueCommand x)
           
 void clear()
          Delete all internal state so that the command may be used only for instance tracking.
 java.lang.Class<?> getComponentType()
           
 java.util.List<ValueCommand> getComponentValues()
           
 void traverse(RpcCommandVisitor visitor, RpcCommandVisitor.Context ctx)
           
 
Methods inherited from class com.google.gwt.rpc.client.ast.IdentityValueCommand
equals, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayValueCommand

public ArrayValueCommand(java.lang.Class<?> componentType)
Method Detail

add

public void add(ValueCommand x)

clear

public void clear()
Description copied from class: RpcCommand
Delete all internal state so that the command may be used only for instance tracking.

Overrides:
clear in class RpcCommand

getComponentType

public java.lang.Class<?> getComponentType()

getComponentValues

public java.util.List<ValueCommand> getComponentValues()

traverse

public void traverse(RpcCommandVisitor visitor,
                     RpcCommandVisitor.Context ctx)
Specified by:
traverse in class RpcCommand