public class Encoder extends Object
Constructor and Description |
---|
Encoder() |
Modifier and Type | Method and Description |
---|---|
static String |
attributeEscape(String value)
Escape a string that's inside an html attribute.
|
static String |
attributeJavascriptEscape(String value)
Escape a string that's inside an html attribute and thence inside javascript.
|
static String |
bodyEscape(String value)
Escape a string that's inside an html body.
|
static String |
bodyJavascriptEscape(String value)
Escape a string that's in an html body (script) area and thence inside javascript.
|
public static final String _rcsid
public static String attributeJavascriptEscape(String value)
value
- is the input.public static String bodyJavascriptEscape(String value)
value
- is the input.public static String attributeEscape(String value)
value
- is the input.