|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Attribute.Type> org.cdmckay.coffeedom.Attribute.Type
public static enum Attribute.Type
Enum Constant Summary | |
---|---|
CDATA
Attribute type: the attribute value is a string. |
|
ENTITIES
Attribute type: the attribute value is a list of entity names. |
|
ENTITY
Attribute type: the attribute value is the name of an entity. |
|
ENUMERATED
Attribute type: the attribute value is a name token from an enumeration. |
|
ID
Attribute type: the attribute value is a unique identifier. |
|
IDREF
Attribute type: the attribute value is a reference to a unique identifier. |
|
IDREFS
Attribute type: the attribute value is a list of references to unique identifiers. |
|
NMTOKEN
Attribute type: the attribute value is a name token. |
|
NMTOKENS
Attribute type: the attribute value is a list of name tokens. |
|
NOTATION
Attribute type: the attribute value is the name of a notation. |
|
UNDECLARED
Attribute type: the attribute has not been declared or type is unknown. |
Method Summary | |
---|---|
static Attribute.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Attribute.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 Attribute.Type UNDECLARED
Attribute.getAttributeType()
public static final Attribute.Type CDATA
Attribute.getAttributeType()
public static final Attribute.Type ID
Attribute.getAttributeType()
public static final Attribute.Type IDREF
Attribute.getAttributeType()
public static final Attribute.Type IDREFS
Attribute.getAttributeType()
public static final Attribute.Type ENTITY
Attribute.getAttributeType()
public static final Attribute.Type ENTITIES
Attribute.getAttributeType()
public static final Attribute.Type NMTOKEN
ENUMERATED
.
Attribute.getAttributeType()
public static final Attribute.Type NMTOKENS
Attribute.getAttributeType()
public static final Attribute.Type NOTATION
Attribute.getAttributeType()
public static final Attribute.Type ENUMERATED
Attribute.getAttributeType()
Method Detail |
---|
public static Attribute.Type[] values()
for (Attribute.Type c : Attribute.Type.values()) System.out.println(c);
public static Attribute.Type valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |