public class EscapeHtml
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
amp
When passing the escaped string to a SOAP service, you must change this to
|
Constructor and Description |
---|
EscapeHtml() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
escape(java.lang.String s)
Converts special chars into escaped sequences.
|
static java.lang.String |
unescape(java.lang.String escaped)
Converts escaped sequences into special chars.
|
public static java.lang.String amp
EscapeHtml.amp = "&";and then set back to null when done.
public static final java.lang.String escape(java.lang.String s)
public static final java.lang.String unescape(java.lang.String escaped)