com.aspose.note

Class DocumentVisitor



  • public abstract class DocumentVisitor
    extends Object

    The abstract class for iterating through subtree with root at the specified node.

    • Constructor Detail

      • DocumentVisitor

        public DocumentVisitor()
    • Method Detail

      • visitDocumentStart

        public void visitDocumentStart(Document document)

        Start to visit the Document node.

        Parameters:
        document - The Document node.
      • visitDocumentEnd

        public void visitDocumentEnd(Document document)

        End to visit the Document node.

        Parameters:
        document - The Document node.
      • visitImageStart

        public void visitImageStart(Image image)

        Start to visit the Image node.

        Parameters:
        image - The Image node.
      • visitImageEnd

        public void visitImageEnd(Image image)

        End to visit the Image node.

        Parameters:
        image - The Image node.
      • visitOutlineStart

        public void visitOutlineStart(Outline outline)

        Start to visit the Outline node.

        Parameters:
        outline - The Outline node.
      • visitOutlineEnd

        public void visitOutlineEnd(Outline outline)

        End to visit the Outline node.

        Parameters:
        outline - The Outline node.
      • visitOutlineElementStart

        public void visitOutlineElementStart(OutlineElement outlineElement)

        Start to visit the OutlineElement node.

        Parameters:
        outlineElement - The OutlineElement node.
      • visitOutlineElementEnd

        public void visitOutlineElementEnd(OutlineElement outlineElement)

        End to visit the OutlineElement node.

        Parameters:
        outlineElement - The OutlineElement node.
      • visitOutlineGroupStart

        public void visitOutlineGroupStart(OutlineGroup outlineGroup)

        Start to visit the OutlineGroup node.

        Parameters:
        outlineGroup - The OutlineGroup node.
      • visitOutlineGroupEnd

        public void visitOutlineGroupEnd(OutlineGroup outlineGroup)

        End to visit the OutlineGroup node.

        Parameters:
        outlineGroup - The OutlineGroup node.
      • visitPageStart

        public void visitPageStart(Page page)

        Start to visit the Page node.

        Parameters:
        page - The Page node.
      • visitPageEnd

        public void visitPageEnd(Page page)

        End to visit the Page node.

        Parameters:
        page - The Page node.
      • visitRichTextStart

        public void visitRichTextStart(RichText richText)

        Start to visit the RichText node.

        Parameters:
        richText - The RichText node.
      • visitRichTextEnd

        public void visitRichTextEnd(RichText richText)

        End to visit the RichText node.

        Parameters:
        richText - The RichText node.
      • visitTitleStart

        public void visitTitleStart(Title title)

        Start to visit the Title node.

        Parameters:
        title - The Title node.
      • visitTitleEnd

        public void visitTitleEnd(Title title)

        End to visit the Title node.

        Parameters:
        title - The Title node.
      • visitAttachedFileStart

        public void visitAttachedFileStart(AttachedFile attachedFile)

        Start to visit the AttachedFile node.

        Parameters:
        attachedFile - The AttachedFile node.
      • visitAttachedFileEnd

        public void visitAttachedFileEnd(AttachedFile attachedFile)

        End to visit the AttachedFile node.

        Parameters:
        attachedFile - The AttachedFile node.
      • visitTableStart

        public void visitTableStart(Table table)

        Start to visit the Table node.

        Parameters:
        table - The Table node.
      • visitTableEnd

        public void visitTableEnd(Table table)

        End to visit the Table node.

        Parameters:
        table - The Table node.
      • visitTableCellStart

        public void visitTableCellStart(TableCell tableCell)

        Start to visit the TableCell node.

        Parameters:
        tableCell - The TableCell node.
      • visitTableCellEnd

        public void visitTableCellEnd(TableCell tableCell)

        End to visit the TableCell node.

        Parameters:
        tableCell - The TableCell node.
      • visitTableRowStart

        public void visitTableRowStart(TableRow tableRow)

        Start to visit the TableRow node.

        Parameters:
        tableRow - The TableRow node.
      • visitTableRowEnd

        public void visitTableRowEnd(TableRow tableRow)

        End to visit the TableRow node.

        Parameters:
        tableRow - The TableRow node.