public abstract static class TraversalUtil.CallbackImpl extends Object implements TraversalUtil.Callback
| Constructor and Description |
|---|
CallbackImpl() |
| Modifier and Type | Method and Description |
|---|---|
abstract 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) |
public void walkJAXBElements(Object parent)
walkJAXBElements in interface TraversalUtil.Callbackpublic List<Object> getChildren(Object o)
getChildren in interface TraversalUtil.Callbackpublic abstract List<Object> apply(Object o)
shouldTraverse(Object)).
Implementations can have side effects.
apply in interface TraversalUtil.Callbackpublic boolean shouldTraverse(Object o)
shouldTraverse in interface TraversalUtil.CallbackCopyright © 2007-2020. All Rights Reserved.