public abstract class DocumentVisitor extends Object
The abstract class for iterating through subtree with root at the specified node.
Constructor and Description |
---|
DocumentVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
visitAttachedFileEnd(AttachedFile attachedFile)
End to visit the
AttachedFile node. |
void |
visitAttachedFileStart(AttachedFile attachedFile)
Start to visit the
AttachedFile node. |
void |
visitDocumentEnd(Document document)
End to visit the
Document node. |
void |
visitDocumentStart(Document document)
Start to visit the
Document node. |
void |
visitImageEnd(Image image)
End to visit the
Image node. |
void |
visitImageStart(Image image)
Start to visit the
Image node. |
void |
visitOutlineElementEnd(OutlineElement outlineElement)
End to visit the
OutlineElement node. |
void |
visitOutlineElementStart(OutlineElement outlineElement)
Start to visit the
OutlineElement node. |
void |
visitOutlineEnd(Outline outline)
End to visit the
Outline node. |
void |
visitOutlineGroupEnd(OutlineGroup outlineGroup)
End to visit the
OutlineGroup node. |
void |
visitOutlineGroupStart(OutlineGroup outlineGroup)
Start to visit the
OutlineGroup node. |
void |
visitOutlineStart(Outline outline)
Start to visit the
Outline node. |
void |
visitPageEnd(Page page)
End to visit the
Page node. |
void |
visitPageStart(Page page)
Start to visit the
Page node. |
void |
visitRichTextEnd(RichText richText)
End to visit the
RichText node. |
void |
visitRichTextStart(RichText richText)
Start to visit the
RichText node. |
void |
visitTableCellEnd(TableCell tableCell)
End to visit the
TableCell node. |
void |
visitTableCellStart(TableCell tableCell)
Start to visit the
TableCell node. |
void |
visitTableEnd(Table table)
End to visit the
Table node. |
void |
visitTableRowEnd(TableRow tableRow)
End to visit the
TableRow node. |
void |
visitTableRowStart(TableRow tableRow)
Start to visit the
TableRow node. |
void |
visitTableStart(Table table)
Start to visit the
Table node. |
void |
visitTitleEnd(Title title)
End to visit the
Title node. |
void |
visitTitleStart(Title title)
Start to visit the
Title node. |
public void visitDocumentStart(Document document)
Start to visit the Document
node.
document
- The Document
node.public void visitDocumentEnd(Document document)
End to visit the Document
node.
document
- The Document
node.public void visitImageStart(Image image)
Start to visit the Image
node.
image
- The Image
node.public void visitImageEnd(Image image)
End to visit the Image
node.
image
- The Image
node.public void visitOutlineStart(Outline outline)
Start to visit the Outline
node.
outline
- The Outline
node.public void visitOutlineEnd(Outline outline)
End to visit the Outline
node.
outline
- The Outline
node.public void visitOutlineElementStart(OutlineElement outlineElement)
Start to visit the OutlineElement
node.
outlineElement
- The OutlineElement
node.public void visitOutlineElementEnd(OutlineElement outlineElement)
End to visit the OutlineElement
node.
outlineElement
- The OutlineElement
node.public void visitOutlineGroupStart(OutlineGroup outlineGroup)
Start to visit the OutlineGroup
node.
outlineGroup
- The OutlineGroup
node.public void visitOutlineGroupEnd(OutlineGroup outlineGroup)
End to visit the OutlineGroup
node.
outlineGroup
- The OutlineGroup
node.public void visitPageStart(Page page)
Start to visit the Page
node.
page
- The Page
node.public void visitPageEnd(Page page)
End to visit the Page
node.
page
- The Page
node.public void visitRichTextStart(RichText richText)
Start to visit the RichText
node.
richText
- The RichText
node.public void visitRichTextEnd(RichText richText)
End to visit the RichText
node.
richText
- The RichText
node.public void visitTitleStart(Title title)
Start to visit the Title
node.
title
- The Title
node.public void visitTitleEnd(Title title)
End to visit the Title
node.
title
- The Title
node.public void visitAttachedFileStart(AttachedFile attachedFile)
Start to visit the AttachedFile
node.
attachedFile
- The AttachedFile
node.public void visitAttachedFileEnd(AttachedFile attachedFile)
End to visit the AttachedFile
node.
attachedFile
- The AttachedFile
node.public void visitTableStart(Table table)
Start to visit the Table
node.
table
- The Table
node.public void visitTableEnd(Table table)
End to visit the Table
node.
table
- The Table
node.public void visitTableCellStart(TableCell tableCell)
Start to visit the TableCell
node.
tableCell
- The TableCell
node.public void visitTableCellEnd(TableCell tableCell)
End to visit the TableCell
node.
tableCell
- The TableCell
node.public void visitTableRowStart(TableRow tableRow)
Start to visit the TableRow
node.
tableRow
- The TableRow
node.public void visitTableRowEnd(TableRow tableRow)
End to visit the TableRow
node.
tableRow
- The TableRow
node.