|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.tidy.servlet.util.HTMLEncode
Converts a String to HTML by converting all special characters to HTML-entities.
Method Summary | |
protected static void |
buildEntityTables()
|
static java.lang.String |
encode(java.lang.String s)
Converts a String to HTML by converting all special characters to HTML-entities. |
static java.lang.String |
encode(java.lang.String s,
java.lang.String cr)
Converts a String to HTML by converting all special characters to HTML-entities. |
protected static java.lang.String |
encodeHREFParam(java.lang.String url)
Converts a String to valid HTML HREF by converting all special characters to HTML-entities. |
protected static java.lang.String |
encodeHREFParamJava13(java.lang.String value)
|
static java.lang.String |
encodeHREFQuery(java.lang.String url,
java.util.Map args,
boolean forHtml)
|
static java.lang.String |
encodeHREFQuery(java.lang.String url,
java.lang.String[] args)
|
static java.lang.String |
encodeHREFQuery(java.lang.String url,
java.lang.String[] args,
boolean forHtml)
|
static java.lang.String |
encodeQuery(java.lang.String url,
java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
protected static void buildEntityTables()
public static final java.lang.String encode(java.lang.String s)
public static final java.lang.String encode(java.lang.String s, java.lang.String cr)
protected static java.lang.String encodeHREFParam(java.lang.String url)
url
- url to be encoded
protected static java.lang.String encodeHREFParamJava13(java.lang.String value)
public static java.lang.String encodeQuery(java.lang.String url, java.lang.String[] args)
public static java.lang.String encodeHREFQuery(java.lang.String url, java.lang.String[] args)
public static java.lang.String encodeHREFQuery(java.lang.String url, java.lang.String[] args, boolean forHtml)
public static java.lang.String encodeHREFQuery(java.lang.String url, java.util.Map args, boolean forHtml)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |