Package org.apache.synapse.config.xml
Enum XMLConfigConstants.DATA_TYPES
- java.lang.Object
-
- java.lang.Enum<XMLConfigConstants.DATA_TYPES>
-
- org.apache.synapse.config.xml.XMLConfigConstants.DATA_TYPES
-
- All Implemented Interfaces:
Serializable
,Comparable<XMLConfigConstants.DATA_TYPES>
- Enclosing class:
- XMLConfigConstants
public static enum XMLConfigConstants.DATA_TYPES extends Enum<XMLConfigConstants.DATA_TYPES>
The set of supported data types
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XMLConfigConstants.DATA_TYPES
valueOf(String name)
Returns the enum constant of this type with the specified name.static XMLConfigConstants.DATA_TYPES[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final XMLConfigConstants.DATA_TYPES STRING
-
BOOLEAN
public static final XMLConfigConstants.DATA_TYPES BOOLEAN
-
INTEGER
public static final XMLConfigConstants.DATA_TYPES INTEGER
-
LONG
public static final XMLConfigConstants.DATA_TYPES LONG
-
SHORT
public static final XMLConfigConstants.DATA_TYPES SHORT
-
FLOAT
public static final XMLConfigConstants.DATA_TYPES FLOAT
-
DOUBLE
public static final XMLConfigConstants.DATA_TYPES DOUBLE
-
OM
public static final XMLConfigConstants.DATA_TYPES OM
-
JSON
public static final XMLConfigConstants.DATA_TYPES JSON
-
-
Method Detail
-
values
public static XMLConfigConstants.DATA_TYPES[] 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 (XMLConfigConstants.DATA_TYPES c : XMLConfigConstants.DATA_TYPES.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XMLConfigConstants.DATA_TYPES 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
-
-