com.liferay.portal.kernel.util
Interface Html
- All Known Implementing Classes:
- HtmlImpl
public interface Html
escape
String escape(String text)
escape
String escape(String text,
int mode)
escapeAttribute
String escapeAttribute(String attribute)
escapeCSS
String escapeCSS(String css)
escapeHREF
String escapeHREF(String href)
escapeJS
String escapeJS(String js)
escapeURL
String escapeURL(String url)
escapeXPath
String escapeXPath(String xPath)
escapeXPathAttribute
String escapeXPathAttribute(String xPathAttribute)
extractText
String extractText(String html)
fromInputSafe
String fromInputSafe(String text)
getAUICompatibleId
String getAUICompatibleId(String text)
render
String render(String html)
replaceMsWordCharacters
@Deprecated
String replaceMsWordCharacters(String text)
- Deprecated. As of 7.0.0, with no direct replacement
replaceNewLine
String replaceNewLine(String html)
stripBetween
String stripBetween(String text,
String tag)
stripComments
String stripComments(String text)
stripHtml
String stripHtml(String text)
toInputSafe
String toInputSafe(String text)
unescape
String unescape(String text)
unescapeCDATA
String unescapeCDATA(String text)
wordBreak
String wordBreak(String text,
int columns)