Package io.keikai.doc.io.schema.docx
Interface IDOCXVisitor<T>
-
- Type Parameters:
T- the return type of the visit method.
public interface IDOCXVisitor<T>Internal Use Only.A visitor interface for visiting DOCX elements which based on XWPF element in a document.
- Author:
- Jamson Chan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tvisit(DOCXDocument document)Visit the given document.Tvisit(DOCXFtr footer)Visit the given footer.Tvisit(DOCXHdr header)Visit the given header.Tvisit(DOCXP paragraph)Visit the given section.Tvisit(DOCXR run)Visit the given run.Tvisit(DOCXTbl table)Visit the given table.Tvisit(DOCXTc tableCell)Visit the given table cell.Tvisit(DOCXTr tableRow)Visit the given table row.
-
-
-
Method Detail
-
visit
T visit(DOCXDocument document)
Visit the given document.- Parameters:
document- the document to visit- Returns:
- the result of the visit
-
visit
T visit(DOCXHdr header)
Visit the given header.- Parameters:
header- the header to visit- Returns:
- the result of the visit
-
visit
T visit(DOCXFtr footer)
Visit the given footer.- Parameters:
footer- the footer to visit- Returns:
- the result of the visit
-
visit
T visit(DOCXP paragraph)
Visit the given section.- Parameters:
paragraph- the paragraph to visit- Returns:
- the result of the visit
-
visit
T visit(DOCXR run)
Visit the given run.- Parameters:
run- the run to visit- Returns:
- the result of the visit
-
visit
T visit(DOCXTbl table)
Visit the given table.- Parameters:
table- the table to visit- Returns:
- the result of the visit
-
visit
T visit(DOCXTr tableRow)
Visit the given table row.- Parameters:
tableRow- the table row to visit- Returns:
- the result of the visit
-
-