public class ApplyFunctionIf extends Object implements BeanVisitor
| Constructor and Description |
|---|
ApplyFunctionIf(BeanPropertyFunction function,
BeanPropertyPredicate predicate) |
| 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 ApplyFunctionIf(BeanPropertyFunction function, BeanPropertyPredicate predicate)
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.