Liferay 6.0.5

com.liferay.portlet.journal.util
Class TokensTransformerListener

java.lang.Object
  extended by com.liferay.portlet.journal.util.TransformerListener
      extended by com.liferay.portlet.journal.util.TokensTransformerListener

public class TokensTransformerListener
extends TransformerListener


Field Summary
static String TEMP_ESCAPED_AT_CLOSE
           
static String TEMP_ESCAPED_AT_OPEN
           
 
Constructor Summary
TokensTransformerListener()
           
 
Method Summary
 String onOutput(String s)
           
 String onScript(String s)
           
 String onXml(String s)
           
protected  String replace(String s)
          Replace the standard tokens in a given string with their values.
 
Methods inherited from class com.liferay.portlet.journal.util.TransformerListener
getLanguageId, getTokens, isTemplateDriven, setLanguageId, setTemplateDriven, setTokens
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEMP_ESCAPED_AT_OPEN

public static final String TEMP_ESCAPED_AT_OPEN
See Also:
Constant Field Values

TEMP_ESCAPED_AT_CLOSE

public static final String TEMP_ESCAPED_AT_CLOSE
See Also:
Constant Field Values
Constructor Detail

TokensTransformerListener

public TokensTransformerListener()
Method Detail

onXml

public String onXml(String s)
Specified by:
onXml in class TransformerListener

onScript

public String onScript(String s)
Specified by:
onScript in class TransformerListener

onOutput

public String onOutput(String s)
Specified by:
onOutput in class TransformerListener

replace

protected String replace(String s)
Replace the standard tokens in a given string with their values.

Returns:
the processed string

Liferay 6.0.5