public enum ProcessingType extends java.lang.Enum<ProcessingType>
Enum Constant and Description |
---|
PARSING |
PROCESSING |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static ProcessingType |
get(int code)
Retrieve the ProcessingType corresponding to the specified code
|
int |
getCode()
Retrieve an internal and unique integer for this ProcessingType, suitable for serialization
|
static ProcessingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProcessingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessingType UNKNOWN
public static final ProcessingType PROCESSING
public static final ProcessingType PARSING
public static ProcessingType[] values()
for (ProcessingType c : ProcessingType.values()) System.out.println(c);
public static ProcessingType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ProcessingType get(int code)
public int getCode()
get(int)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.