Package org.docx4j.utils
Class TraversalUtilVisitor<T>
java.lang.Object
org.docx4j.utils.TraversalUtilVisitor<T>
- Direct Known Subclasses:
Docx4J.FindContentControlsVisitor,FieldsCombiner.CombineVisitor,PageNumberInformationCollector.FieldVisitor,VariablePrepare.TraversalUtilParagraphVisitor
public abstract class TraversalUtilVisitor<T>
extends java.lang.Object
Extend this class to specify what should be done when a
particular object (eg P or Table) is visited during the
traversal.
- Author:
- alberto
-
Constructor Summary
Constructors Constructor Description TraversalUtilVisitor() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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-
-