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-2013. All Rights Reserved.