GWT 2.3.0

com.google.gwt.autobean.shared
Class AutoBeanVisitor

java.lang.Object
  extended by com.google.gwt.autobean.shared.AutoBeanVisitor

Deprecated.

@Deprecated
public class AutoBeanVisitor
extends java.lang.Object

Allows traversal of an AutoBean object graph.

AutoBeans has moved to com.google.web.bindery.autobeans. This package will be removed in a future version of GWT.


Nested Class Summary
static interface AutoBeanVisitor.CollectionPropertyContext
          Deprecated. 
static interface AutoBeanVisitor.Context
          Deprecated. 
static interface AutoBeanVisitor.MapPropertyContext
          Deprecated. 
static class AutoBeanVisitor.ParameterizationVisitor
          Deprecated. 
static interface AutoBeanVisitor.PropertyContext
          Deprecated. 
 
Constructor Summary
AutoBeanVisitor()
          Deprecated.  
 
Method Summary
 void endVisit(AutoBean<?> bean, AutoBeanVisitor.Context ctx)
          Deprecated. Called after visiting an AutoBean.
 void endVisitCollectionProperty(java.lang.String propertyName, AutoBean<java.util.Collection<?>> value, AutoBeanVisitor.CollectionPropertyContext ctx)
          Deprecated. Called after visiting a reference property.
 void endVisitMapProperty(java.lang.String propertyName, AutoBean<java.util.Map<?,?>> value, AutoBeanVisitor.MapPropertyContext ctx)
          Deprecated. Called after visiting a reference property.
 void endVisitReferenceProperty(java.lang.String propertyName, AutoBean<?> value, AutoBeanVisitor.PropertyContext ctx)
          Deprecated. Called after visiting a reference property.
 void endVisitValueProperty(java.lang.String propertyName, java.lang.Object value, AutoBeanVisitor.PropertyContext ctx)
          Deprecated. Called after visiting a value property.
 boolean visit(AutoBean<?> bean, AutoBeanVisitor.Context ctx)
          Deprecated. Called when visiting an AutoBean.
 boolean visitCollectionProperty(java.lang.String propertyName, AutoBean<java.util.Collection<?>> value, AutoBeanVisitor.CollectionPropertyContext ctx)
          Deprecated. Called every time, but visit(AutoBean, Context) will be called for the value only the first time it is encountered.
 boolean visitMapProperty(java.lang.String propertyName, AutoBean<java.util.Map<?,?>> value, AutoBeanVisitor.MapPropertyContext ctx)
          Deprecated. Called every time, but visit(AutoBean, Context) will be called for the value only the first time it is encountered.
 boolean visitReferenceProperty(java.lang.String propertyName, AutoBean<?> value, AutoBeanVisitor.PropertyContext ctx)
          Deprecated. Called every time, but visit(AutoBean, Context) will be called for the value only the first time it is encountered.
 boolean visitValueProperty(java.lang.String propertyName, java.lang.Object value, AutoBeanVisitor.PropertyContext ctx)
          Deprecated. TODO: document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoBeanVisitor

public AutoBeanVisitor()
Deprecated. 
Method Detail

endVisit

public void endVisit(AutoBean<?> bean,
                     AutoBeanVisitor.Context ctx)
Deprecated. 
Called after visiting an AutoBean.

Parameters:
bean - an AutoBean
ctx - a Context

endVisitCollectionProperty

public void endVisitCollectionProperty(java.lang.String propertyName,
                                       AutoBean<java.util.Collection<?>> value,
                                       AutoBeanVisitor.CollectionPropertyContext ctx)
Deprecated. 
Called after visiting a reference property.

Parameters:
propertyName - the property name, as a String
value - the property value
ctx - a PropertyContext

endVisitMapProperty

public void endVisitMapProperty(java.lang.String propertyName,
                                AutoBean<java.util.Map<?,?>> value,
                                AutoBeanVisitor.MapPropertyContext ctx)
Deprecated. 
Called after visiting a reference property.

Parameters:
propertyName - the property name, as a String
value - the property value
ctx - a PropertyContext

endVisitReferenceProperty

public void endVisitReferenceProperty(java.lang.String propertyName,
                                      AutoBean<?> value,
                                      AutoBeanVisitor.PropertyContext ctx)
Deprecated. 
Called after visiting a reference property.

Parameters:
propertyName - the property name, as a String
value - the property value
ctx - a PropertyContext

endVisitValueProperty

public void endVisitValueProperty(java.lang.String propertyName,
                                  java.lang.Object value,
                                  AutoBeanVisitor.PropertyContext ctx)
Deprecated. 
Called after visiting a value property.

Parameters:
propertyName - the property name, as a String
value - the property value
ctx - a PropertyContext

visit

public boolean visit(AutoBean<?> bean,
                     AutoBeanVisitor.Context ctx)
Deprecated. 
Called when visiting an AutoBean.

Parameters:
bean - an AutoBean
ctx - a Context

visitCollectionProperty

public boolean visitCollectionProperty(java.lang.String propertyName,
                                       AutoBean<java.util.Collection<?>> value,
                                       AutoBeanVisitor.CollectionPropertyContext ctx)
Deprecated. 
Called every time, but visit(AutoBean, Context) will be called for the value only the first time it is encountered.

Parameters:
propertyName - the property name, as a String
value - the property value
ctx - a PropertyContext

visitMapProperty

public boolean visitMapProperty(java.lang.String propertyName,
                                AutoBean<java.util.Map<?,?>> value,
                                AutoBeanVisitor.MapPropertyContext ctx)
Deprecated. 
Called every time, but visit(AutoBean, Context) will be called for the value only the first time it is encountered.

Parameters:
propertyName - the property name, as a String
value - the property value
ctx - a PropertyContext

visitReferenceProperty

public boolean visitReferenceProperty(java.lang.String propertyName,
                                      AutoBean<?> value,
                                      AutoBeanVisitor.PropertyContext ctx)
Deprecated. 
Called every time, but visit(AutoBean, Context) will be called for the value only the first time it is encountered.

Parameters:
propertyName - the property name, as a String
value - the property value
ctx - a PropertyContext

visitValueProperty

public boolean visitValueProperty(java.lang.String propertyName,
                                  java.lang.Object value,
                                  AutoBeanVisitor.PropertyContext ctx)
Deprecated. 
TODO: document.

Parameters:
propertyName - the property name, as a String
value - the property value
ctx - a PropertyContext

GWT 2.3.0