Interface Highlight.Builder

    • Method Detail

      • startIndex

        Highlight.Builder startIndex​(Integer startIndex)

        Start index of the highlight.

        Parameters:
        startIndex - Start index of the highlight.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endIndex

        Highlight.Builder endIndex​(Integer endIndex)

        End index of the highlight.

        Parameters:
        endIndex - End index of the highlight.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        Highlight.Builder value​(String value)

        The highlight's value.

        Parameters:
        value - The highlight's value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.