public class CapturePropertyToMap extends Object implements BeanVisitor
| Constructor and Description |
|---|
CapturePropertyToMap(Map<String,BeanProperty> propertyMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
visit(BeanProperty property,
Object current,
BeanPropertyPath path,
Object[] stack,
AtomicBoolean stop)
Callback fired for each
BeanProperty found on an object |
public CapturePropertyToMap(Map<String,BeanProperty> propertyMap)
public void visit(BeanProperty property, Object current, BeanPropertyPath path, Object[] stack, AtomicBoolean stop)
BeanVisitorBeanProperty found on an objectvisit in interface BeanVisitorproperty - the property being visitedcurrent - the object currently being visitedpath - a dot notation path of the properties navigated to get to this propertystack - a stack of the objects that have been visited to get to the current object. The latest object is last in the array.stop - set the value to true if the visit is to be stoppedCopyright © 2015. All rights reserved.