public class TableFinder extends TraversalUtil.CallbackImpl
Constructor and Description |
---|
TableFinder() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
apply(Object o)
Visits a node in pre order (before its children have been visited).
|
void |
setTraverseTables(boolean traveseTables)
Defaults to false; set this to true unless you don't
want to traverse a table (eg a nested table).
|
boolean |
shouldTraverse(Object o)
Decide whether this node's children should be traversed.
|
getChildren, walkJAXBElements
public void setTraverseTables(boolean traveseTables)
traveseNestedTable
- public List<Object> apply(Object o)
TraversalUtil.CallbackImpl
TraversalUtil.CallbackImpl.shouldTraverse(Object)
).
Implementations can have side effects.
apply
in interface TraversalUtil.Callback
apply
in class TraversalUtil.CallbackImpl
public boolean shouldTraverse(Object o)
TraversalUtil.CallbackImpl
shouldTraverse
in interface TraversalUtil.Callback
shouldTraverse
in class TraversalUtil.CallbackImpl
Copyright © 2007-2019. All Rights Reserved.