Class TocFinder

java.lang.Object
org.docx4j.TraversalUtil.CallbackImpl
org.docx4j.toc.TocFinder
All Implemented Interfaces:
TraversalUtil.Callback

public class TocFinder
extends TraversalUtil.CallbackImpl
Don't attempt to reuse this; create a new TocFinder object each time you invoke it.
  • Constructor Summary

    Constructors 
    Constructor Description
    TocFinder()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<java.lang.Object> apply​(java.lang.Object o)
    Visits a node in pre order (before its children have been visited).
    java.util.List<java.lang.Object> getChildren​(java.lang.Object o)  
    SdtBlock getTocSDT()  
    boolean shouldTraverse​(java.lang.Object o)
    Decide whether this node's children should be traversed.
    void walkJAXBElements​(java.lang.Object parent)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait