com.thaiopensource.pullax
Class XmlAttributeType

java.lang.Object
  |
  +--com.thaiopensource.pullax.XmlAttributeType

public final class XmlAttributeType
extends java.lang.Object

A type-safe enumeration for the XML 1.0 type of an attribute.


Field Summary
static XmlAttributeType CDATA
          The attribute type for attributes declared as CDATA.
static XmlAttributeType ENTITIES
          The attribute type for attributes declared as ENTITIES.
static XmlAttributeType ENTITY
          The attribute type for attributes declared as ENTITY.
static XmlAttributeType ENUMERATION
          The attribute type for attribute whose declared value is a group of NMTOKENs.
static XmlAttributeType ID
          The attribute type for attributes declared as ID.
static XmlAttributeType IDREF
          The attribute type for attributes declared as IDREF.
static XmlAttributeType IDREFS
          The attribute type for attributes declared as IDREFS.
static XmlAttributeType NMTOKEN
          The attribute type for attributes declared as NMTOKEN.
static XmlAttributeType NMTOKENS
          The attribute type for attributes declared as NMTOKENS.
static XmlAttributeType NOTATION
          The attribute type for attributes declared as NOTATION.
 
Method Summary
 java.lang.String toString()
           
static XmlAttributeType valueOf(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CDATA

public static final XmlAttributeType CDATA
The attribute type for attributes declared as CDATA.

ID

public static final XmlAttributeType ID
The attribute type for attributes declared as ID.

IDREF

public static final XmlAttributeType IDREF
The attribute type for attributes declared as IDREF.

IDREFS

public static final XmlAttributeType IDREFS
The attribute type for attributes declared as IDREFS.

ENTITY

public static final XmlAttributeType ENTITY
The attribute type for attributes declared as ENTITY.

ENTITIES

public static final XmlAttributeType ENTITIES
The attribute type for attributes declared as ENTITIES.

NMTOKEN

public static final XmlAttributeType NMTOKEN
The attribute type for attributes declared as NMTOKEN.

NMTOKENS

public static final XmlAttributeType NMTOKENS
The attribute type for attributes declared as NMTOKENS.

NOTATION

public static final XmlAttributeType NOTATION
The attribute type for attributes declared as NOTATION.

ENUMERATION

public static final XmlAttributeType ENUMERATION
The attribute type for attribute whose declared value is a group of NMTOKENs.
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

valueOf

public static XmlAttributeType valueOf(java.lang.String name)