Package de.xima.fc.helper
Class PlaceholderStringTokenizer.PlaceholderStringPlaceholderToken
java.lang.Object
de.xima.fc.helper.PlaceholderStringTokenizer.PlaceholderStringToken
de.xima.fc.helper.PlaceholderStringTokenizer.PlaceholderStringPlaceholderToken
- Enclosing class:
- PlaceholderStringTokenizer
public static final class PlaceholderStringTokenizer.PlaceholderStringPlaceholderToken
extends PlaceholderStringTokenizer.PlaceholderStringToken
Represents a placeholder part of a string.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetContent(String content) Can be used to modify the placeholder content before passing the tokens back toPlaceholderStringTokenizer.stringify(Iterable).toString()Methods inherited from class de.xima.fc.helper.PlaceholderStringTokenizer.PlaceholderStringToken
getEnd, getStart
-
Method Details
-
getContent
- Returns:
- The content of the placeholder, without the prefix and suffix, e.g.
tf1.
-
getPrefix
- Returns:
- The prefix of the placeholder, e.g.
[%or[%$$.
-
getSuffix
- Returns:
- The suffix of the placeholder, e.g.
%].
-
setContent
Can be used to modify the placeholder content before passing the tokens back toPlaceholderStringTokenizer.stringify(Iterable).- Parameters:
content- The new content of the placeholder, without the prefix and suffix, e.g.tf1.
-
toString
-