Package com.itextpdf.kernel.pdf.tagutils
Interface ITagTreeIteratorHandler
-
- All Known Implementing Classes:
AbstractAvoidDuplicatesTagTreeIteratorHandler
,AnnotationCheckUtil.AnnotationHandler
,ContextAwareTagTreeIteratorHandler
,FormCheckUtil.FormTagHandler
,FormulaCheckUtil.FormulaTagHandler
,GraphicsCheckUtil.GraphicsHandler
,HeadingsChecker.HeadingHandler
,McrCheckUtil.McrTagHandler
,NoteCheckUtil.NoteTagHandler
,TableCheckUtil.TableHandler
,TagTreeIteratorFlusher
,TagTreePointer.RoleFinderHandler
public interface ITagTreeIteratorHandler
Handler forTagTreeIterator
. Is used to handle specific events during the traversal.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(IStructureNode node)
Checks whether the element should be traversed.void
processElement(IStructureNode elem)
Called when the next element is reached during the traversal to process it.
-
-
-
Method Detail
-
accept
boolean accept(IStructureNode node)
Checks whether the element should be traversed.- Parameters:
node
- the element to check- Returns:
true
if the iteration should be continued,false
otherwise
-
processElement
void processElement(IStructureNode elem)
Called when the next element is reached during the traversal to process it.- Parameters:
elem
- the element to process
-
-