DocumentVisitor
Inheritance: java.lang.Object
public abstract class DocumentVisitor
The abstract class for iterating through subtree with root at the specified node.
Constructors
Constructor | Description |
---|---|
DocumentVisitor() |
Methods
DocumentVisitor()
public DocumentVisitor()
visitDocumentStart(Document document)
public void visitDocumentStart(Document document)
Start to visit the Document node.
Parameters:
Parameter | Type | Description |
---|---|---|
document | Document | The Document node. |
visitDocumentEnd(Document document)
public void visitDocumentEnd(Document document)
End to visit the Document node.
Parameters:
Parameter | Type | Description |
---|---|---|
document | Document | The Document node. |
visitImageStart(Image image)
public void visitImageStart(Image image)
Start to visit the Image node.
Parameters:
Parameter | Type | Description |
---|---|---|
image | Image | The Image node. |
visitImageEnd(Image image)
public void visitImageEnd(Image image)
End to visit the Image node.
Parameters:
Parameter | Type | Description |
---|---|---|
image | Image | The Image node. |
visitOutlineStart(Outline outline)
public void visitOutlineStart(Outline outline)
Start to visit the Outline node.
Parameters:
Parameter | Type | Description |
---|---|---|
outline | Outline | The Outline node. |
visitOutlineEnd(Outline outline)
public void visitOutlineEnd(Outline outline)
End to visit the Outline node.
Parameters:
Parameter | Type | Description |
---|---|---|
outline | Outline | The Outline node. |
visitOutlineElementStart(OutlineElement outlineElement)
public void visitOutlineElementStart(OutlineElement outlineElement)
Start to visit the OutlineElement node.
Parameters:
Parameter | Type | Description |
---|---|---|
outlineElement | OutlineElement | The OutlineElement node. |
visitOutlineElementEnd(OutlineElement outlineElement)
public void visitOutlineElementEnd(OutlineElement outlineElement)
End to visit the OutlineElement node.
Parameters:
Parameter | Type | Description |
---|---|---|
outlineElement | OutlineElement | The OutlineElement node. |
visitOutlineGroupStart(OutlineGroup outlineGroup)
public void visitOutlineGroupStart(OutlineGroup outlineGroup)
Start to visit the OutlineGroup node.
Parameters:
Parameter | Type | Description |
---|---|---|
outlineGroup | OutlineGroup | The OutlineGroup node. |
visitOutlineGroupEnd(OutlineGroup outlineGroup)
public void visitOutlineGroupEnd(OutlineGroup outlineGroup)
End to visit the OutlineGroup node.
Parameters:
Parameter | Type | Description |
---|---|---|
outlineGroup | OutlineGroup | The OutlineGroup node. |
visitPageStart(Page page)
public void visitPageStart(Page page)
Start to visit the Page node.
Parameters:
Parameter | Type | Description |
---|---|---|
page | Page | The Page node. |
visitPageEnd(Page page)
public void visitPageEnd(Page page)
End to visit the Page node.
Parameters:
Parameter | Type | Description |
---|---|---|
page | Page | The Page node. |
visitRichTextStart(RichText richText)
public void visitRichTextStart(RichText richText)
Start to visit the RichText node.
Parameters:
Parameter | Type | Description |
---|---|---|
richText | RichText | The RichText node. |
visitRichTextEnd(RichText richText)
public void visitRichTextEnd(RichText richText)
End to visit the RichText node.
Parameters:
Parameter | Type | Description |
---|---|---|
richText | RichText | The RichText node. |
visitTitleStart(Title title)
public void visitTitleStart(Title title)
Start to visit the Title node.
Parameters:
Parameter | Type | Description |
---|---|---|
title | Title | The Title node. |
visitTitleEnd(Title title)
public void visitTitleEnd(Title title)
End to visit the Title node.
Parameters:
Parameter | Type | Description |
---|---|---|
title | Title | The Title node. |
visitAttachedFileStart(AttachedFile attachedFile)
public void visitAttachedFileStart(AttachedFile attachedFile)
Start to visit the AttachedFile node.
Parameters:
Parameter | Type | Description |
---|---|---|
attachedFile | AttachedFile | The AttachedFile node. |
visitAttachedFileEnd(AttachedFile attachedFile)
public void visitAttachedFileEnd(AttachedFile attachedFile)
End to visit the AttachedFile node.
Parameters:
Parameter | Type | Description |
---|---|---|
attachedFile | AttachedFile | The AttachedFile node. |
visitTableStart(Table table)
public void visitTableStart(Table table)
Start to visit the Table node.
Parameters:
Parameter | Type | Description |
---|---|---|
table | Table | The Table node. |
visitTableEnd(Table table)
public void visitTableEnd(Table table)
End to visit the Table node.
Parameters:
Parameter | Type | Description |
---|---|---|
table | Table | The Table node. |
visitTableCellStart(TableCell tableCell)
public void visitTableCellStart(TableCell tableCell)
Start to visit the TableCell node.
Parameters:
Parameter | Type | Description |
---|---|---|
tableCell | TableCell | The TableCell node. |
visitTableCellEnd(TableCell tableCell)
public void visitTableCellEnd(TableCell tableCell)
End to visit the TableCell node.
Parameters:
Parameter | Type | Description |
---|---|---|
tableCell | TableCell | The TableCell node. |
visitTableRowStart(TableRow tableRow)
public void visitTableRowStart(TableRow tableRow)
Start to visit the TableRow node.
Parameters:
Parameter | Type | Description |
---|---|---|
tableRow | TableRow | The TableRow node. |
visitTableRowEnd(TableRow tableRow)
public void visitTableRowEnd(TableRow tableRow)
End to visit the TableRow node.
Parameters:
Parameter | Type | Description |
---|---|---|
tableRow | TableRow | The TableRow node. |
visitInkDrawingStart(InkDrawing inkDrawing)
public void visitInkDrawingStart(InkDrawing inkDrawing)
Start to visit the InkDrawing node.
Parameters:
Parameter | Type | Description |
---|---|---|
inkDrawing | InkDrawing | The InkDrawing node. |
visitInkDrawingEnd(InkDrawing inkDrawing)
public void visitInkDrawingEnd(InkDrawing inkDrawing)
End to visit the InkDrawing node.
Parameters:
Parameter | Type | Description |
---|---|---|
inkDrawing | InkDrawing | The InkDrawing node. |
visitInkWordStart(InkWord inkWord)
public void visitInkWordStart(InkWord inkWord)
Start to visit the InkWord node.
Parameters:
Parameter | Type | Description |
---|---|---|
inkWord | InkWord | The InkWord node. |
visitInkWordEnd(InkWord inkWord)
public void visitInkWordEnd(InkWord inkWord)
End to visit the InkWord node.
Parameters:
Parameter | Type | Description |
---|---|---|
inkWord | InkWord | The InkWord node. |
visitInkParagraphStart(InkParagraph inkParagraph)
public void visitInkParagraphStart(InkParagraph inkParagraph)
Start to visit the InkParagraph node.
Parameters:
Parameter | Type | Description |
---|---|---|
inkParagraph | InkParagraph | The InkParagraph node. |
visitInkParagraphEnd(InkParagraph inkParagraph)
public void visitInkParagraphEnd(InkParagraph inkParagraph)
End to visit the InkParagraph node.
Parameters:
Parameter | Type | Description |
---|---|---|
inkParagraph | InkParagraph | The InkParagraph node. |