Class Paragraph.Builder

  • Enclosing class:
    Paragraph

    public static class Paragraph.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • text

        public Paragraph.Builder text​(String text)
        The part of the generated message that contains a citation.
        Parameters:
        text - the value to set
        Returns:
        this builder
      • start

        public Paragraph.Builder start​(Integer start)
        Where the text with a citation starts in the generated message.
        Parameters:
        start - the value to set
        Returns:
        this builder
      • end

        public Paragraph.Builder end​(Integer end)
        Where the text with a citation ends in the generated message.
        Parameters:
        end - the value to set
        Returns:
        this builder