| Modifier and Type | Field and Description |
|---|---|
| public static final AttributeType | CDATA
Attribute type: the attribute value is a string. |
| public static final AttributeType | ENTITIES
Attribute type: the attribute value is a list of entity names. |
| public static final AttributeType | ENTITY
Attribute type: the attribute value is the name of an entity. |
| public static final AttributeType | ENUMERATION
Attribute type: the attribute value is a name token from an enumeration. |
| public static final AttributeType | ID
Attribute type: the attribute value is a unique identifier. |
| public static final AttributeType | IDREF
Attribute type: the attribute value is a reference to a unique identifier. |
| public static final AttributeType | IDREFS
Attribute type: the attribute value is a list of references to unique identifiers. |
| public static final AttributeType | NMTOKEN
Attribute type: the attribute value is a name token. |
| public static final AttributeType | NMTOKENS
Attribute type: the attribute value is a list of name tokens. |
| public static final AttributeType | NOTATION
Attribute type: the attribute value is the name of a notation. |
| public static final AttributeType | UNDECLARED
Attribute type: the attribute has not been declared or type is unknown. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static final AttributeType | Returns: The AttributeType corresponding to the specified equivalentThe AttributeType int equivalent to retrieve index)
Deprecated
Use normal Enums instead of int's
Obtain a AttributeType by a int constant.
|
| public static final AttributeType | Returns: int the JDOM attribute type.String the SAX 2.0 attribute
type string.Returns the the JDOM AttributeType value from the SAX 2.0 attribute type string provided by the parser. |
| public static AttributeType | |
| public static AttributeType[] |
| CDATA | back to summary |
|---|---|
| public static final AttributeType CDATA Attribute type: the attribute value is a string.
| |
| ENTITIES | back to summary |
|---|---|
| public static final AttributeType ENTITIES Attribute type: the attribute value is a list of entity names.
| |
| ENTITY | back to summary |
|---|---|
| public static final AttributeType ENTITY Attribute type: the attribute value is the name of an entity.
| |
| ENUMERATION | back to summary |
|---|---|
| public static final AttributeType ENUMERATION Attribute type: the attribute value is a name token from an enumeration.
| |
| ID | back to summary |
|---|---|
| public static final AttributeType ID Attribute type: the attribute value is a unique identifier.
| |
| IDREF | back to summary |
|---|---|
| public static final AttributeType IDREF Attribute type: the attribute value is a reference to a unique identifier.
| |
| IDREFS | back to summary |
|---|---|
| public static final AttributeType IDREFS Attribute type: the attribute value is a list of references to unique identifiers.
| |
| NMTOKEN | back to summary |
|---|---|
| public static final AttributeType NMTOKEN Attribute type: the attribute value is a name token.
According to SAX 2.0 specification, attributes of enumerated
types should be reported as "NMTOKEN" by SAX parsers. But the
major parsers (Xerces and Crimson) provide specific values
that permit to recognize them as
| |
| NMTOKENS | back to summary |
|---|---|
| public static final AttributeType NMTOKENS Attribute type: the attribute value is a list of name tokens.
| |
| NOTATION | back to summary |
|---|---|
| public static final AttributeType NOTATION Attribute type: the attribute value is the name of a notation.
| |
| UNDECLARED | back to summary |
|---|---|
| public static final AttributeType UNDECLARED Attribute type: the attribute has not been declared or type is unknown.
| |
| AttributeType | back to summary |
|---|---|
| private AttributeType() | |
| byIndex | back to summary |
|---|---|
| public static final AttributeType byIndex(int index)
Deprecated Use normal Enums instead of int's Obtain a AttributeType by a int constant. This goes against the logic of enums, but this is used for backward compatibility. Thus, this method is marked Deprecated.
| |
| getAttributeType | back to summary |
|---|---|
| public static final AttributeType getAttributeType(String typeName) Returns the the JDOM AttributeType value from the SAX 2.0 attribute type string provided by the parser.
| |
| valueOf | back to summary |
|---|---|
| public static AttributeType valueOf(String name) | |
| values | back to summary |
|---|---|
| public static AttributeType[] values() | |