Class AutoBeanVisitor
java.lang.Object
com.google.web.bindery.autobean.shared.AutoBeanVisitor
Allows traversal of an AutoBean object graph.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
A PropertyContext that describes the parameterization of the Collection being visited.static interface
Reserved for future expansion to avoid API breaks.static interface
A PropertyContext that describes the parameterization of the Map being visited.static class
The ParameterizationVisitor provides access to more complete type information than a simple class literal can provide.static interface
Allows properties to be reset. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
endVisit
(AutoBean<?> bean, AutoBeanVisitor.Context ctx) Called after visiting anAutoBean
.void
endVisitCollectionProperty
(String propertyName, AutoBean<Collection<?>> value, AutoBeanVisitor.CollectionPropertyContext ctx) Called after visiting a reference property.void
endVisitMapProperty
(String propertyName, AutoBean<Map<?, ?>> value, AutoBeanVisitor.MapPropertyContext ctx) Called after visiting a reference property.void
endVisitReferenceProperty
(String propertyName, AutoBean<?> value, AutoBeanVisitor.PropertyContext ctx) Called after visiting a reference property.void
endVisitValueProperty
(String propertyName, Object value, AutoBeanVisitor.PropertyContext ctx) Called after visiting a value property.boolean
visit
(AutoBean<?> bean, AutoBeanVisitor.Context ctx) Called when visiting anAutoBean
.boolean
visitCollectionProperty
(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.boolean
visitMapProperty
(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.boolean
visitReferenceProperty
(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.boolean
visitValueProperty
(String propertyName, Object value, AutoBeanVisitor.PropertyContext ctx) TODO: document.
-
Constructor Details
-
AutoBeanVisitor
public AutoBeanVisitor()
-
-
Method Details