Interface DocumentText.Builder

    • Method Detail

      • highlights

        DocumentText.Builder highlights​(Collection<Highlight> highlights)

        Highlights in the document text.

        Parameters:
        highlights - Highlights in the document text.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • highlights

        DocumentText.Builder highlights​(Highlight... highlights)

        Highlights in the document text.

        Parameters:
        highlights - Highlights in the document text.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • text

        DocumentText.Builder text​(String text)

        Text in the document.

        Parameters:
        text - Text in the document.
        Returns:
        Returns a reference to this object so that method calls can be chained together.