Class Placeholder.Builder

    • Constructor Detail

      • Builder

        public Builder​(String reference)
        Create a new builder for a Placeholder.
        Parameters:
        reference - reference that points to a parameter
    • Method Detail

      • startIndex

        public Placeholder.Builder startIndex​(int startIndex)
        Set the index at which the placeholder starts in the text it is embedded in.
        Parameters:
        startIndex - start index
        Returns:
        self for fluent programming
      • endIndex

        public Placeholder.Builder endIndex​(int endIndex)
        Set the index at which the placeholder ends in the text it is embedded in.
        Parameters:
        endIndex - end index
        Returns:
        self for fluent programming
      • quoting

        public Placeholder.Builder quoting​(Quoting quoting)
        Set the quoting style that should be used when replacing this placeholder.
        Parameters:
        quoting - quoting style
        Returns:
        self for fluent programming