public enum XMLSpace extends Enum<XMLSpace>
Enum Constant and Description |
---|
DEFAULT
xml:space value "default".
|
PRESERVE
xml:space value "preserve".
|
Modifier and Type | Method and Description |
---|---|
static XMLSpace |
parseValue(String value)
Parse a string value into an XMLSpaceEnum.
|
String |
toString() |
static XMLSpace |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1999–2017. All rights reserved.