public static enum TestXmlEvent.TestXmlEventType extends Enum<TestXmlEvent.TestXmlEventType>
TestXmlEvent
types.Enum Constant and Description |
---|
DATA
Indicates that fresh data awaits parsing.
|
END_OF_STREAM
Indicates that an end-of-stream has been reached.
|
ERROR
Indicates that an error has occurred.
|
SEQUENCE
Indicates a sequence number for verifying internal connection state.
|
Modifier and Type | Method and Description |
---|---|
protected TestXmlEvent |
parse(Node contentNode,
Source<TestXmlEvent,SourceType> source)
Parses a
TestXmlEvent from the given DOM Node . |
static TestXmlEvent.TestXmlEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestXmlEvent.TestXmlEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestXmlEvent.TestXmlEventType DATA
public static final TestXmlEvent.TestXmlEventType SEQUENCE
public static final TestXmlEvent.TestXmlEventType ERROR
public static final TestXmlEvent.TestXmlEventType END_OF_STREAM
public static TestXmlEvent.TestXmlEventType[] values()
for (TestXmlEvent.TestXmlEventType c : TestXmlEvent.TestXmlEventType.values()) System.out.println(c);
public static TestXmlEvent.TestXmlEventType 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 nullprotected TestXmlEvent parse(Node contentNode, Source<TestXmlEvent,SourceType> source)
TestXmlEvent
from the given DOM Node
.