com.liferay.portlet.journal.util
Class TokensTransformerListener
java.lang.Object
com.liferay.portal.kernel.templateparser.BaseTransformerListener
com.liferay.portlet.journal.util.TokensTransformerListener
- All Implemented Interfaces:
- TransformerListener
public class TokensTransformerListener
- extends BaseTransformerListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEMP_ESCAPED_AT_CLOSE
public static final String TEMP_ESCAPED_AT_CLOSE
- See Also:
- Constant Field Values
TEMP_ESCAPED_AT_OPEN
public static final String TEMP_ESCAPED_AT_OPEN
- See Also:
- Constant Field Values
TokensTransformerListener
public TokensTransformerListener()
onOutput
public String onOutput(String s)
- Specified by:
onOutput
in interface TransformerListener
- Specified by:
onOutput
in class BaseTransformerListener
onScript
public String onScript(String s)
- Specified by:
onScript
in interface TransformerListener
- Specified by:
onScript
in class BaseTransformerListener
onXml
public String onXml(String s)
- Specified by:
onXml
in interface TransformerListener
- Specified by:
onXml
in class BaseTransformerListener
replace
protected String replace(String s)
- Replace the standard tokens in a given string with their values.
- Returns:
- the processed string