List of usage examples for com.liferay.portal.kernel.util StringPool CDATA_CLOSE
String CDATA_CLOSE
To view the source code for com.liferay.portal.kernel.util StringPool CDATA_CLOSE.
Click Source Link
From source file:com.liferay.portlet.journal.util.VelocityTemplateParser.java
License:Open Source License
protected String stripCDATA(String s) { if (s.startsWith(StringPool.CDATA_OPEN) && s.endsWith(StringPool.CDATA_CLOSE)) { s = s.substring(StringPool.CDATA_OPEN.length(), s.length() - StringPool.CDATA_CLOSE.length()); }/* w w w.j a v a2 s . com*/ return s; }