Liferay 6.2-ce-ga5

com.liferay.portal.kernel.util
Interface Html

All Known Implementing Classes:
HtmlImpl

public interface Html


Method Summary
 String escape(String text)
           
 String escape(String text, int mode)
           
 String escapeAttribute(String attribute)
           
 String escapeCSS(String css)
           
 String escapeHREF(String href)
           
 String escapeJS(String js)
           
 String escapeURL(String url)
           
 String escapeXPath(String xPath)
           
 String escapeXPathAttribute(String xPathAttribute)
           
 String extractText(String html)
           
 String fromInputSafe(String text)
           
 String getAUICompatibleId(String text)
           
 String render(String html)
           
 String replaceMsWordCharacters(String text)
          Deprecated. As of 7.0.0, with no direct replacement
 String replaceNewLine(String html)
           
 String stripBetween(String text, String tag)
           
 String stripComments(String text)
           
 String stripHtml(String text)
           
 String toInputSafe(String text)
           
 String unescape(String text)
           
 String unescapeCDATA(String text)
           
 String wordBreak(String text, int columns)
           
 

Method Detail

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)

Liferay 6.2-ce-ga5