org.apache.qpid.proton.codec
Enum Data.Type
java.lang.Object
java.lang.Enum<Data.Type>
org.apache.qpid.proton.codec.Data.Type
- All Implemented Interfaces:
- Serializable, Comparable<Data.Type>
- Enclosing interface:
- Data
public static enum Data.Type
- extends Enum<Data.Type>
|
Method Summary |
static Data.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Data.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
NULL
public static final Data.Type NULL
BOOL
public static final Data.Type BOOL
UBYTE
public static final Data.Type UBYTE
BYTE
public static final Data.Type BYTE
USHORT
public static final Data.Type USHORT
SHORT
public static final Data.Type SHORT
UINT
public static final Data.Type UINT
INT
public static final Data.Type INT
ULONG
public static final Data.Type ULONG
LONG
public static final Data.Type LONG
FLOAT
public static final Data.Type FLOAT
DOUBLE
public static final Data.Type DOUBLE
BINARY
public static final Data.Type BINARY
STRING
public static final Data.Type STRING
SYMBOL
public static final Data.Type SYMBOL
DESCRIPTOR
public static final Data.Type DESCRIPTOR
ARRAY
public static final Data.Type ARRAY
LIST
public static final Data.Type LIST
MAP
public static final Data.Type MAP
TYPE
public static final Data.Type TYPE
values
public static Data.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 (Data.Type c : Data.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 Data.Type 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
NullPointerException - if the argument is null
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.