java.lang.Object
de.cuioss.tools.formatting.template.token.StringToken
- All Implemented Interfaces:
Token,Serializable
Simple String token, this token returns always his value on
substituteAttribute(FormatterSupport)
- Author:
- Eugen Fischer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleansubstituteAttribute(FormatterSupport content) returns always stored string value
-
Constructor Details
-
StringToken
public StringToken()
-
-
Method Details
-
substituteAttribute
returns always stored string value- Specified by:
substituteAttributein interfaceToken- Parameters:
content- must not be null- Returns:
- token specific template with substituted attribute value if attribute
exists,
emptyString otherwise
-
isStringToken
- Specified by:
isStringTokenin interfaceToken- Returns:
- true if Token has no substitutions
-