public class TocFinder extends TraversalUtil.CallbackImpl
| Constructor and Description |
|---|
TocFinder() |
| 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) |
SdtBlock |
getTocSDT() |
boolean |
shouldTraverse(Object o)
Decide whether this node's children should be traversed.
|
void |
walkJAXBElements(Object parent) |
public SdtBlock getTocSDT()
public List<Object> apply(Object o)
TraversalUtil.CallbackImplTraversalUtil.CallbackImpl.shouldTraverse(Object)).
Implementations can have side effects.
apply in interface TraversalUtil.Callbackapply in class TraversalUtil.CallbackImplpublic void walkJAXBElements(Object parent)
walkJAXBElements in interface TraversalUtil.CallbackwalkJAXBElements in class TraversalUtil.CallbackImplpublic List<Object> getChildren(Object o)
getChildren in interface TraversalUtil.CallbackgetChildren in class TraversalUtil.CallbackImplpublic boolean shouldTraverse(Object o)
shouldTraverse in interface TraversalUtil.CallbackshouldTraverse in class TraversalUtil.CallbackImplCopyright © 2007-2020. All Rights Reserved.