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 Type
    Method
    Description
    boolean
    Checks whether the element should be traversed.
    void
    Called when the next element is reached during the traversal to process it.
  • Method Details

    • 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