public static interface TraversalUtil.Callback
Modifier and Type | Method and Description |
---|---|
List<Object> |
apply(Object o)
Visits a node in pre order (before its children have been visited).
|
List<Object> |
getChildren(Object o) |
boolean |
shouldTraverse(Object o)
Decide whether this node's children should be traversed.
|
void |
walkJAXBElements(Object parent) |
void walkJAXBElements(Object parent)
List<Object> apply(Object o)
shouldTraverse(Object)
).
Implementations can have side effects.
boolean shouldTraverse(Object o)
Copyright © 2007-2018. All Rights Reserved.