|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FudgeStreamReader.FudgeStreamElement>
org.fudgemsg.FudgeStreamReader.FudgeStreamElement
public static enum FudgeStreamReader.FudgeStreamElement
Constants for the four stream element types as returned by FudgeStreamReader.next()
and FudgeStreamReader.getCurrentElement()
.
Enum Constant Summary | |
---|---|
MESSAGE_ENVELOPE
Issued when the envelope header is parsed. |
|
SIMPLE_FIELD
Issued when a simple (non-hierarchical) field is encountered. |
|
SUBMESSAGE_FIELD_END
Issued when the end of a sub-Message field is reached. |
|
SUBMESSAGE_FIELD_START
Issued when a sub-Message field is encountered. |
Method Summary | |
---|---|
static FudgeStreamReader.FudgeStreamElement |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FudgeStreamReader.FudgeStreamElement[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FudgeStreamReader.FudgeStreamElement MESSAGE_ENVELOPE
public static final FudgeStreamReader.FudgeStreamElement SIMPLE_FIELD
public static final FudgeStreamReader.FudgeStreamElement SUBMESSAGE_FIELD_START
public static final FudgeStreamReader.FudgeStreamElement SUBMESSAGE_FIELD_END
Method Detail |
---|
public static FudgeStreamReader.FudgeStreamElement[] values()
for (FudgeStreamReader.FudgeStreamElement c : FudgeStreamReader.FudgeStreamElement.values()) System.out.println(c);
public static FudgeStreamReader.FudgeStreamElement valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |