Package org.docx4j.utils
Class TraversalUtilVisitor<T>
java.lang.Object
org.docx4j.utils.TraversalUtilVisitor<T>
- Direct Known Subclasses:
ContentControlsInfoStructure.TraversalUtilContentControlVisitor,CustomXmlDataStoragePartSelector.TraversalUtilCCVisitor,Docx4J.FindContentControlsVisitor,FieldsCombiner.CombineVisitor,FontSettingsRemoval.TraversalUtilParagraphVisitor,FootnotesDelete.TraversalUtilFootnoteRefVisitor,ImageConvertEmbeddedToLinked.TraversalUtilBlipVisitor,PageNumberInformationCollector.FieldVisitor,ProtectDocument.VisitorRemovePFormatting,ProtectDocument.VisitorRemoveRFormatting,ProtectDocument.VisitorRemoveTableFormatting,TraverseRemovePageBreakBefore.TraversalUtilPVisitor,TraverseRemoveVanish.TraversalUtilRunVisitor,TraverseRemoveVariables.TraversalUtilTextVisitor,VariablePrepare.TraversalUtilParagraphVisitor
Extend this class to specify what should be done when a
particular object (eg P or Table) is visited during the
traversal.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TraversalUtilVisitor
public TraversalUtilVisitor()
-
-
Method Details
-
apply
- Parameters:
element-parent- (logical?)parent in the of the elementsiblings- List of the element (this includes the element itself). This list can't be changed while the visitor is running(!)
-
apply
Apply method if there is no need to access the surrounding elements- Parameters:
element-
-