public static enum XMLType.Type extends Enum<XMLType.Type>
Enum Constant and Description |
---|
COMMENT |
CONTENT |
DOCUMENT |
ELEMENT |
PI |
TEXT |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static XMLType.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XMLType.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMLType.Type UNKNOWN
public static final XMLType.Type DOCUMENT
public static final XMLType.Type CONTENT
public static final XMLType.Type ELEMENT
public static final XMLType.Type COMMENT
public static final XMLType.Type PI
public static final XMLType.Type TEXT
public static XMLType.Type[] values()
for (XMLType.Type c : XMLType.Type.values()) System.out.println(c);
public static XMLType.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 © 2019. All rights reserved.