public static enum XmlUtil.VALIDATION_TYPE extends Enum<XmlUtil.VALIDATION_TYPE>
Enum Constant and Description |
---|
DTD
DTD based validation.
|
NONE
No validation.
|
XSD
XSD based validation.
|
Modifier and Type | Method and Description |
---|---|
static XmlUtil.VALIDATION_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlUtil.VALIDATION_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlUtil.VALIDATION_TYPE NONE
public static final XmlUtil.VALIDATION_TYPE DTD
public static final XmlUtil.VALIDATION_TYPE XSD
public static XmlUtil.VALIDATION_TYPE[] values()
for (XmlUtil.VALIDATION_TYPE c : XmlUtil.VALIDATION_TYPE.values()) System.out.println(c);
public static XmlUtil.VALIDATION_TYPE 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 © 2020. All rights reserved.