public enum Event extends Enum<Event>
| Enum Constant and Description |
|---|
CDATA_SECTION |
COMMENT |
DOCUMENT_TYPE |
END_ELEMENT |
ENTITY_REFERENCE |
PROCESSING_INSTRUCTION |
START_ELEMENT |
TEXT |
WHITESPACE |
| Modifier and Type | Method and Description |
|---|---|
static Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event DOCUMENT_TYPE
public static final Event START_ELEMENT
public static final Event END_ELEMENT
public static final Event TEXT
public static final Event WHITESPACE
public static final Event ENTITY_REFERENCE
public static final Event COMMENT
public static final Event CDATA_SECTION
public static final Event PROCESSING_INSTRUCTION
public static Event[] values()
for (Event c : Event.values()) System.out.println(c);
public static Event 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 ? The Apache Software Foundation. All Rights Reserved.