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 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
      • visit

        T visit​(DOCXTc tableCell)
        Visit the given table cell.
        Parameters:
        tableCell - the table cell to visit
        Returns:
        the result of the visit