Package org.metafacture.javaintegration
Enum EventList.Event.Type
- java.lang.Object
-
- java.lang.Enum<EventList.Event.Type>
-
- org.metafacture.javaintegration.EventList.Event.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EventList.Event.Type>
- Enclosing class:
- EventList.Event
public static enum EventList.Event.Type extends java.lang.Enum<EventList.Event.Type>
Event types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description END_ENTITY
END_RECORD
LITERAL
START_ENTITY
START_RECORD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventList.Event.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EventList.Event.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START_RECORD
public static final EventList.Event.Type START_RECORD
-
END_RECORD
public static final EventList.Event.Type END_RECORD
-
START_ENTITY
public static final EventList.Event.Type START_ENTITY
-
END_ENTITY
public static final EventList.Event.Type END_ENTITY
-
LITERAL
public static final EventList.Event.Type LITERAL
-
-
Method Detail
-
values
public static EventList.Event.Type[] 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 (EventList.Event.Type c : EventList.Event.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventList.Event.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-