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