Class PlaceholderStringTokenizer.PlaceholderStringPlaceholderToken

    • Method Detail

      • getContent

        public String getContent()
        Returns:
        The content of the placeholder, without the prefix and suffix, e.g. tf1.
      • getPrefix

        public String getPrefix()
        Returns:
        The prefix of the placeholder, e.g. [% or [%$$.
      • getSuffix

        public String getSuffix()
        Returns:
        The suffix of the placeholder, e.g. %].
      • setContent

        public void setContent​(String content)
        Can be used to modify the placeholder content before passing the tokens back to PlaceholderStringTokenizer.stringify(Iterable).
        Parameters:
        content - The new content of the placeholder, without the prefix and suffix, e.g. tf1.