|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ElementType>
com.buildforge.services.common.api.xml.ElementType
public enum ElementType
The element types that are accepted by this protocol.
Element
,
Protocol.XML
Enum Constant Summary | |
---|---|
ARRAY
Array element. |
|
FALSE
False element. |
|
HASH
Hash element. |
|
INTEGER
Integer element. |
|
NULL
Null element. |
|
NUMBER
Number element. |
|
PACKET
Packet element. |
|
REQUEST
Request element. |
|
STRING
String element. |
|
TRUE
True element. |
Method Summary | |
---|---|
static ElementType |
fromName(java.lang.String name)
Identifies an element type from the tag name. |
static ElementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ElementType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ElementType PACKET
PacketElement
public static final ElementType REQUEST
RequestElement
public static final ElementType NULL
NullElement
public static final ElementType TRUE
TrueElement
public static final ElementType FALSE
FalseElement
public static final ElementType INTEGER
IntegerElement
public static final ElementType NUMBER
NumberElement
public static final ElementType STRING
StringElement
public static final ElementType ARRAY
ArrayElement
public static final ElementType HASH
HashElement
Method Detail |
---|
public static final ElementType[] values()
for(ElementType c : ElementType.values()) System.out.println(c);
public static ElementType 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 namepublic static ElementType fromName(java.lang.String name)
name
- the tag name to resolve
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |