Class AutoBeanVisitor
java.lang.Object
com.google.web.bindery.autobean.shared.AutoBeanVisitor
Allows traversal of an AutoBean object graph.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA PropertyContext that describes the parameterization of the Collection being visited.static interfaceReserved for future expansion to avoid API breaks.static interfaceA PropertyContext that describes the parameterization of the Map being visited.static classThe ParameterizationVisitor provides access to more complete type information than a simple class literal can provide.static interfaceAllows properties to be reset. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendVisit(AutoBean<?> bean, AutoBeanVisitor.Context ctx) Called after visiting anAutoBean.voidendVisitCollectionProperty(String propertyName, AutoBean<Collection<?>> value, AutoBeanVisitor.CollectionPropertyContext ctx) Called after visiting a reference property.voidendVisitMapProperty(String propertyName, AutoBean<Map<?, ?>> value, AutoBeanVisitor.MapPropertyContext ctx) Called after visiting a reference property.voidendVisitReferenceProperty(String propertyName, AutoBean<?> value, AutoBeanVisitor.PropertyContext ctx) Called after visiting a reference property.voidendVisitValueProperty(String propertyName, Object value, AutoBeanVisitor.PropertyContext ctx) Called after visiting a value property.booleanvisit(AutoBean<?> bean, AutoBeanVisitor.Context ctx) Called when visiting anAutoBean.booleanvisitCollectionProperty(String propertyName, AutoBean<Collection<?>> value, AutoBeanVisitor.CollectionPropertyContext ctx) Called every time, butvisit(AutoBean, Context)will be called for the value only the first time it is encountered.booleanvisitMapProperty(String propertyName, AutoBean<Map<?, ?>> value, AutoBeanVisitor.MapPropertyContext ctx) Called every time, butvisit(AutoBean, Context)will be called for the value only the first time it is encountered.booleanvisitReferenceProperty(String propertyName, AutoBean<?> value, AutoBeanVisitor.PropertyContext ctx) Called every time, butvisit(AutoBean, Context)will be called for the value only the first time it is encountered.booleanvisitValueProperty(String propertyName, Object value, AutoBeanVisitor.PropertyContext ctx) TODO: document.
-
Constructor Details
-
AutoBeanVisitor
public AutoBeanVisitor()
-
-
Method Details