com.liferay.portlet.journal.util
Class ContentTransformerListener
java.lang.Object
com.liferay.portlet.journal.util.TransformerListener
com.liferay.portlet.journal.util.ContentTransformerListener
public class ContentTransformerListener
- extends TransformerListener
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
java.lang.String |
onOutput(java.lang.String s)
|
java.lang.String |
onScript(java.lang.String s)
|
java.lang.String |
onXml(java.lang.String s)
|
protected void |
replace(com.liferay.portal.kernel.xml.Element root)
|
protected java.lang.String |
replace(java.lang.String xml)
Fill one article with content from another approved article. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentTransformerListener
public ContentTransformerListener()
onXml
public java.lang.String onXml(java.lang.String s)
- Specified by:
onXml
in class TransformerListener
onScript
public java.lang.String onScript(java.lang.String s)
- Specified by:
onScript
in class TransformerListener
onOutput
public java.lang.String onOutput(java.lang.String s)
- Specified by:
onOutput
in class TransformerListener
replace
protected java.lang.String replace(java.lang.String xml)
- Fill one article with content from another approved article. See the
article DOCUMENTATION-INSTALLATION-BORLAND for a sample use case.
- Parameters:
xml
- the given string
- Returns:
- the processed string
replace
protected void replace(com.liferay.portal.kernel.xml.Element root)
throws java.lang.Exception
- Throws:
java.lang.Exception