Package org.docx4j
Interface TraversalUtil.Callback
- All Known Implementing Classes:
AbstractTraversalUtilVisitorCallback,AbstractVisitorExporterGenerator,AltChunkFinder,BookmarkMover.BookmarkMoverVisitor,ClassFinder,CommentFinder,ComplexFieldLocator,CompoundTraversalUtilVisitorCallback,ConversionSectionWrapperFactory.SdtBlockFinder,HTMLExporterVisitorGenerator,InstrTextFinder,ParagraphStylesInTableFix.StyleRenamer,RangeFinder,SdtFinder,SectPrFinder,SectPrFindFirst,SimpleFieldLocator,SingleTraversalUtilVisitorCallback,TableFinder,TableModel.TrFinder,TcFinder,TocFinder,TraversalUtil.CallbackImpl
- Enclosing class:
- TraversalUtil
public static interface TraversalUtil.Callback
-
Method Summary
Modifier and TypeMethodDescriptionVisits a node in pre order (before its children have been visited).booleanDecide whether this node's children should be traversed.voidwalkJAXBElements(Object parent)
-
Method Details
-
walkJAXBElements
-
getChildren
-
apply
Visits a node in pre order (before its children have been visited). A node is visited only if all its parents have been traversed (shouldTraverse(Object)).Implementations can have side effects.
-
shouldTraverse
Decide whether this node's children should be traversed.- Returns:
- whether the children of this node should be visited
-