public enum XMLTextEscapeStyle extends java.lang.Enum<XMLTextEscapeStyle>
Enum Constant and Description |
---|
CDATA
The text of xs:string elements are wrapped in CDATA tags if the string contains
special characters (quotation mark, ampersand, less-than, greater-than) or
whitespace
|
Standard
Special characters (quotation mark, ampersand, less-than, greater-than) in the
text of xs:string elements are escaped, while non-special characters are written
as is.
|
Modifier and Type | Method and Description |
---|---|
static XMLTextEscapeStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XMLTextEscapeStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMLTextEscapeStyle Standard
public static final XMLTextEscapeStyle CDATA
public static XMLTextEscapeStyle[] values()
for (XMLTextEscapeStyle c : XMLTextEscapeStyle.values()) System.out.println(c);
public static XMLTextEscapeStyle valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null