DocumentVisitor

Inheritance: java.lang.Object

public abstract class DocumentVisitor

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

Constructors

ConstructorDescription
DocumentVisitor()

Methods

MethodDescription
visitDocumentStart(Document document)Start to visit the Document node.
visitDocumentEnd(Document document)End to visit the Document node.
visitImageStart(Image image)Start to visit the Image node.
visitImageEnd(Image image)End to visit the Image node.
visitOutlineStart(Outline outline)Start to visit the Outline node.
visitOutlineEnd(Outline outline)End to visit the Outline node.
visitOutlineElementStart(OutlineElement outlineElement)Start to visit the OutlineElement node.
visitOutlineElementEnd(OutlineElement outlineElement)End to visit the OutlineElement node.
visitOutlineGroupStart(OutlineGroup outlineGroup)Start to visit the OutlineGroup node.
visitOutlineGroupEnd(OutlineGroup outlineGroup)End to visit the OutlineGroup node.
visitPageStart(Page page)Start to visit the Page node.
visitPageEnd(Page page)End to visit the Page node.
visitRichTextStart(RichText richText)Start to visit the RichText node.
visitRichTextEnd(RichText richText)End to visit the RichText node.
visitTitleStart(Title title)Start to visit the Title node.
visitTitleEnd(Title title)End to visit the Title node.
visitAttachedFileStart(AttachedFile attachedFile)Start to visit the AttachedFile node.
visitAttachedFileEnd(AttachedFile attachedFile)End to visit the AttachedFile node.
visitTableStart(Table table)Start to visit the Table node.
visitTableEnd(Table table)End to visit the Table node.
visitTableCellStart(TableCell tableCell)Start to visit the TableCell node.
visitTableCellEnd(TableCell tableCell)End to visit the TableCell node.
visitTableRowStart(TableRow tableRow)Start to visit the TableRow node.
visitTableRowEnd(TableRow tableRow)End to visit the TableRow node.
visitInkDrawingStart(InkDrawing inkDrawing)Start to visit the InkDrawing node.
visitInkDrawingEnd(InkDrawing inkDrawing)End to visit the InkDrawing node.
visitInkWordStart(InkWord inkWord)Start to visit the InkWord node.
visitInkWordEnd(InkWord inkWord)End to visit the InkWord node.
visitInkParagraphStart(InkParagraph inkParagraph)Start to visit the InkParagraph node.
visitInkParagraphEnd(InkParagraph inkParagraph)End to visit the InkParagraph node.

DocumentVisitor()

public DocumentVisitor()

visitDocumentStart(Document document)

public void visitDocumentStart(Document document)

Start to visit the Document node.

Parameters:

ParameterTypeDescription
documentDocumentThe Document node.

visitDocumentEnd(Document document)

public void visitDocumentEnd(Document document)

End to visit the Document node.

Parameters:

ParameterTypeDescription
documentDocumentThe Document node.

visitImageStart(Image image)

public void visitImageStart(Image image)

Start to visit the Image node.

Parameters:

ParameterTypeDescription
imageImageThe Image node.

visitImageEnd(Image image)

public void visitImageEnd(Image image)

End to visit the Image node.

Parameters:

ParameterTypeDescription
imageImageThe Image node.

visitOutlineStart(Outline outline)

public void visitOutlineStart(Outline outline)

Start to visit the Outline node.

Parameters:

ParameterTypeDescription
outlineOutlineThe Outline node.

visitOutlineEnd(Outline outline)

public void visitOutlineEnd(Outline outline)

End to visit the Outline node.

Parameters:

ParameterTypeDescription
outlineOutlineThe Outline node.

visitOutlineElementStart(OutlineElement outlineElement)

public void visitOutlineElementStart(OutlineElement outlineElement)

Start to visit the OutlineElement node.

Parameters:

ParameterTypeDescription
outlineElementOutlineElementThe OutlineElement node.

visitOutlineElementEnd(OutlineElement outlineElement)

public void visitOutlineElementEnd(OutlineElement outlineElement)

End to visit the OutlineElement node.

Parameters:

ParameterTypeDescription
outlineElementOutlineElementThe OutlineElement node.

visitOutlineGroupStart(OutlineGroup outlineGroup)

public void visitOutlineGroupStart(OutlineGroup outlineGroup)

Start to visit the OutlineGroup node.

Parameters:

ParameterTypeDescription
outlineGroupOutlineGroupThe OutlineGroup node.

visitOutlineGroupEnd(OutlineGroup outlineGroup)

public void visitOutlineGroupEnd(OutlineGroup outlineGroup)

End to visit the OutlineGroup node.

Parameters:

ParameterTypeDescription
outlineGroupOutlineGroupThe OutlineGroup node.

visitPageStart(Page page)

public void visitPageStart(Page page)

Start to visit the Page node.

Parameters:

ParameterTypeDescription
pagePageThe Page node.

visitPageEnd(Page page)

public void visitPageEnd(Page page)

End to visit the Page node.

Parameters:

ParameterTypeDescription
pagePageThe Page node.

visitRichTextStart(RichText richText)

public void visitRichTextStart(RichText richText)

Start to visit the RichText node.

Parameters:

ParameterTypeDescription
richTextRichTextThe RichText node.

visitRichTextEnd(RichText richText)

public void visitRichTextEnd(RichText richText)

End to visit the RichText node.

Parameters:

ParameterTypeDescription
richTextRichTextThe RichText node.

visitTitleStart(Title title)

public void visitTitleStart(Title title)

Start to visit the Title node.

Parameters:

ParameterTypeDescription
titleTitleThe Title node.

visitTitleEnd(Title title)

public void visitTitleEnd(Title title)

End to visit the Title node.

Parameters:

ParameterTypeDescription
titleTitleThe Title node.

visitAttachedFileStart(AttachedFile attachedFile)

public void visitAttachedFileStart(AttachedFile attachedFile)

Start to visit the AttachedFile node.

Parameters:

ParameterTypeDescription
attachedFileAttachedFileThe AttachedFile node.

visitAttachedFileEnd(AttachedFile attachedFile)

public void visitAttachedFileEnd(AttachedFile attachedFile)

End to visit the AttachedFile node.

Parameters:

ParameterTypeDescription
attachedFileAttachedFileThe AttachedFile node.

visitTableStart(Table table)

public void visitTableStart(Table table)

Start to visit the Table node.

Parameters:

ParameterTypeDescription
tableTableThe Table node.

visitTableEnd(Table table)

public void visitTableEnd(Table table)

End to visit the Table node.

Parameters:

ParameterTypeDescription
tableTableThe Table node.

visitTableCellStart(TableCell tableCell)

public void visitTableCellStart(TableCell tableCell)

Start to visit the TableCell node.

Parameters:

ParameterTypeDescription
tableCellTableCellThe TableCell node.

visitTableCellEnd(TableCell tableCell)

public void visitTableCellEnd(TableCell tableCell)

End to visit the TableCell node.

Parameters:

ParameterTypeDescription
tableCellTableCellThe TableCell node.

visitTableRowStart(TableRow tableRow)

public void visitTableRowStart(TableRow tableRow)

Start to visit the TableRow node.

Parameters:

ParameterTypeDescription
tableRowTableRowThe TableRow node.

visitTableRowEnd(TableRow tableRow)

public void visitTableRowEnd(TableRow tableRow)

End to visit the TableRow node.

Parameters:

ParameterTypeDescription
tableRowTableRowThe TableRow node.

visitInkDrawingStart(InkDrawing inkDrawing)

public void visitInkDrawingStart(InkDrawing inkDrawing)

Start to visit the InkDrawing node.

Parameters:

ParameterTypeDescription
inkDrawingInkDrawingThe InkDrawing node.

visitInkDrawingEnd(InkDrawing inkDrawing)

public void visitInkDrawingEnd(InkDrawing inkDrawing)

End to visit the InkDrawing node.

Parameters:

ParameterTypeDescription
inkDrawingInkDrawingThe InkDrawing node.

visitInkWordStart(InkWord inkWord)

public void visitInkWordStart(InkWord inkWord)

Start to visit the InkWord node.

Parameters:

ParameterTypeDescription
inkWordInkWordThe InkWord node.

visitInkWordEnd(InkWord inkWord)

public void visitInkWordEnd(InkWord inkWord)

End to visit the InkWord node.

Parameters:

ParameterTypeDescription
inkWordInkWordThe InkWord node.

visitInkParagraphStart(InkParagraph inkParagraph)

public void visitInkParagraphStart(InkParagraph inkParagraph)

Start to visit the InkParagraph node.

Parameters:

ParameterTypeDescription
inkParagraphInkParagraphThe InkParagraph node.

visitInkParagraphEnd(InkParagraph inkParagraph)

public void visitInkParagraphEnd(InkParagraph inkParagraph)

End to visit the InkParagraph node.

Parameters:

ParameterTypeDescription
inkParagraphInkParagraphThe InkParagraph node.