com.liferay.portal.util
Class HtmlImpl
java.lang.Object
com.liferay.portal.util.HtmlImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.util.Html
public class HtmlImpl
- extends java.lang.Object
- implements com.liferay.portal.kernel.util.Html
View Source
- Author:
- Brian Wing Shun Chan, Clarence Shen, Harry Mark
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlImpl
public HtmlImpl()
escape
public java.lang.String escape(java.lang.String text)
- Specified by:
escape
in interface com.liferay.portal.kernel.util.Html
extractText
public java.lang.String extractText(java.lang.String html)
- Specified by:
extractText
in interface com.liferay.portal.kernel.util.Html
fromInputSafe
public java.lang.String fromInputSafe(java.lang.String text)
- Specified by:
fromInputSafe
in interface com.liferay.portal.kernel.util.Html
replaceMsWordCharacters
public java.lang.String replaceMsWordCharacters(java.lang.String text)
- Specified by:
replaceMsWordCharacters
in interface com.liferay.portal.kernel.util.Html
stripBetween
public java.lang.String stripBetween(java.lang.String text,
java.lang.String tag)
- Specified by:
stripBetween
in interface com.liferay.portal.kernel.util.Html
stripComments
public java.lang.String stripComments(java.lang.String text)
- Specified by:
stripComments
in interface com.liferay.portal.kernel.util.Html
stripHtml
public java.lang.String stripHtml(java.lang.String text)
- Specified by:
stripHtml
in interface com.liferay.portal.kernel.util.Html
toInputSafe
public java.lang.String toInputSafe(java.lang.String text)
- Specified by:
toInputSafe
in interface com.liferay.portal.kernel.util.Html
unescape
public java.lang.String unescape(java.lang.String text)
- Specified by:
unescape
in interface com.liferay.portal.kernel.util.Html
isScriptTag
protected boolean isScriptTag(java.lang.String text,
int pos)