public static enum XmlParser.Option extends Enum<XmlParser.Option>
| Enum Constant and Description |
|---|
FAIL_ON_UNKNOWN_ATTRIBUTE
Fail if an attribute is encountered in the document that cannot be assigned to the corresponding object.
|
| Modifier and Type | Method and Description |
|---|---|
static XmlParser.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlParser.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlParser.Option FAIL_ON_UNKNOWN_ATTRIBUTE
public static XmlParser.Option[] values()
for (XmlParser.Option c : XmlParser.Option.values()) System.out.println(c);
public static XmlParser.Option 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 © 2019. All rights reserved.