org.apache.synapse.config.xml
Enum XMLConfigConstants.DATA_TYPES

java.lang.Object
  extended by java.lang.Enum<XMLConfigConstants.DATA_TYPES>
      extended by 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


Enum Constant Summary
BOOLEAN
           
DOUBLE
           
FLOAT
           
INTEGER
           
LONG
           
OM
           
SHORT
           
STRING
           
 
Method Summary
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're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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
Method Detail

values

public static final XMLConfigConstants.DATA_TYPES[] values()
Returns an array containing the constants of this enum type, in the order they're 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're 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 name


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.