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

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.InstantiateCommand
All Implemented Interfaces:
HasSetters, HasTargetClass

public class InstantiateCommand
extends IdentityValueCommand
implements HasSetters, HasTargetClass

Triggers the instantiation of an object.


Constructor Summary
InstantiateCommand(java.lang.Class<?> clazz)
           
 
Method Summary
 void clear()
          Delete all internal state so that the command may be used only for instance tracking.
 java.util.List<SetCommand> getSetters()
           
 java.lang.Class<?> getTargetClass()
           
 void set(java.lang.Class<?> fieldDeclClass, java.lang.String fieldName, ValueCommand value)
           
 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

InstantiateCommand

public InstantiateCommand(java.lang.Class<?> clazz)
Method Detail

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

getSetters

public java.util.List<SetCommand> getSetters()
Specified by:
getSetters in interface HasSetters

getTargetClass

public java.lang.Class<?> getTargetClass()
Specified by:
getTargetClass in interface HasTargetClass

set

public void set(java.lang.Class<?> fieldDeclClass,
                java.lang.String fieldName,
                ValueCommand value)
Specified by:
set in interface HasSetters

traverse

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