| Enum Constant and Description |
|---|
DEFAULT
xml:space value "default".
|
PRESERVE
xml:space value "preserve".
|
| Modifier and Type | Method and Description |
|---|---|
static XMLSpace |
parseValue(java.lang.String value)
Parse a string value into an XMLSpaceEnum.
|
java.lang.String |
toString() |
static XMLSpace |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XMLSpace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMLSpace DEFAULT
public static final XMLSpace PRESERVE
public static XMLSpace[] values()
for (XMLSpace c : XMLSpace.values()) System.out.println(c);
public static XMLSpace 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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<XMLSpace>public static XMLSpace parseValue(java.lang.String value)
The legal values are "default" and "preserve".
value - the value to parse