- java.lang.Object
-
- java.lang.Enum<EDIStreamEvent>
-
- io.xlate.edi.stream.EDIStreamEvent
-
- All Implemented Interfaces:
Serializable
,Comparable<EDIStreamEvent>
public enum EDIStreamEvent extends Enum<EDIStreamEvent>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isError()
static EDIStreamEvent
valueOf(String name)
Returns the enum constant of this type with the specified name.static EDIStreamEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ELEMENT_DATA
public static final EDIStreamEvent ELEMENT_DATA
-
ELEMENT_DATA_BINARY
public static final EDIStreamEvent ELEMENT_DATA_BINARY
-
START_COMPOSITE
public static final EDIStreamEvent START_COMPOSITE
-
END_COMPOSITE
public static final EDIStreamEvent END_COMPOSITE
-
START_SEGMENT
public static final EDIStreamEvent START_SEGMENT
-
END_SEGMENT
public static final EDIStreamEvent END_SEGMENT
-
START_INTERCHANGE
public static final EDIStreamEvent START_INTERCHANGE
-
END_INTERCHANGE
public static final EDIStreamEvent END_INTERCHANGE
-
START_GROUP
public static final EDIStreamEvent START_GROUP
-
END_GROUP
public static final EDIStreamEvent END_GROUP
-
START_TRANSACTION
public static final EDIStreamEvent START_TRANSACTION
-
END_TRANSACTION
public static final EDIStreamEvent END_TRANSACTION
-
START_LOOP
public static final EDIStreamEvent START_LOOP
-
END_LOOP
public static final EDIStreamEvent END_LOOP
-
SEGMENT_ERROR
public static final EDIStreamEvent SEGMENT_ERROR
-
ELEMENT_DATA_ERROR
public static final EDIStreamEvent ELEMENT_DATA_ERROR
-
ELEMENT_OCCURRENCE_ERROR
public static final EDIStreamEvent ELEMENT_OCCURRENCE_ERROR
-
-
Method Detail
-
values
public static EDIStreamEvent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EDIStreamEvent c : EDIStreamEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EDIStreamEvent valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isError
public boolean isError()
-
-