com.bazaarvoice.jolt.traversr.traversal
public abstract class BaseTraversalStep<T> extends Object implements TraversalStep<T>
TraversalStep.Operation| Modifier and Type | Field and Description |
|---|---|
protected TraversalStep |
child |
protected Traversr |
traversr |
| Constructor and Description |
|---|
BaseTraversalStep(Traversr traversr,
TraversalStep child) |
| Modifier and Type | Method and Description |
|---|---|
TraversalStep |
getChild() |
Object |
traverse(Object tree,
TraversalStep.Operation op,
Iterator<String> keys,
Object data)
The meat of the Traversal.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getStepType, newContainer, overwriteSet, removeprotected final TraversalStep child
protected final Traversr traversr
public BaseTraversalStep(Traversr traversr, TraversalStep child)
public TraversalStep getChild()
getChild in interface TraversalStep<T>public final Object traverse(Object tree, TraversalStep.Operation op, Iterator<String> keys, Object data)
TraversalSteptraverse in interface TraversalStep<T>tree - tree of data to walkop - the Operation to perform is this is the last node of the Traversalkeys - keys to usedata - the data to place if the operation is SETCopyright © 2014. All Rights Reserved.