Enum ReaderEventType
- java.lang.Object
-
- java.lang.Enum<ReaderEventType>
-
- org.wso2.carbon.mediator.datamapper.engine.input.readers.events.ReaderEventType
-
- All Implemented Interfaces:
Serializable
,Comparable<ReaderEventType>
public enum ReaderEventType extends Enum<ReaderEventType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANONYMOUS_OBJECT_START
ARRAY_END
ARRAY_START
FIELD
OBJECT_END
OBJECT_START
PRIMITIVE
TERMINATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static ReaderEventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReaderEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OBJECT_START
public static final ReaderEventType OBJECT_START
-
OBJECT_END
public static final ReaderEventType OBJECT_END
-
ARRAY_START
public static final ReaderEventType ARRAY_START
-
ARRAY_END
public static final ReaderEventType ARRAY_END
-
FIELD
public static final ReaderEventType FIELD
-
TERMINATE
public static final ReaderEventType TERMINATE
-
ANONYMOUS_OBJECT_START
public static final ReaderEventType ANONYMOUS_OBJECT_START
-
PRIMITIVE
public static final ReaderEventType PRIMITIVE
-
-
Method Detail
-
values
public static ReaderEventType[] 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 (ReaderEventType c : ReaderEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReaderEventType 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<ReaderEventType>
-
-