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 for
TagTreeIterator
.
Is used to handle specific events during the traversal.-
Method Summary
Modifier and TypeMethodDescriptionboolean
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 Details
-
accept
Checks whether the element should be traversed.- Parameters:
node
- the element to check- Returns:
true
if the iteration should be continued,false
otherwise
-
processElement
Called when the next element is reached during the traversal to process it.- Parameters:
elem
- the element to process
-