All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class de.tudarmstadt.ito.schemas.dtd.Attribute

java.lang.Object
   |
   +----de.tudarmstadt.ito.schemas.dtd.Attribute

public class Attribute
extends Object
Class representing an attribute.


Variable Index

 o defaultValue
The attribute's default value.
 o enums
The legal values for attributes with a type of TYPE_ENUMERATED or TYPE_NOTATION.
 o name
The local, prefixed, and qualified names of the attribute.
 o required
Whether the attribute is required and has a default.
 o REQUIRED_DEFAULT
Attribute is optional and has a default.
 o REQUIRED_FIXED
Attribute has a fixed default.
 o REQUIRED_OPTIONAL
Attribute is optional, no default.
 o REQUIRED_REQUIRED
Attribute is required, no default.
 o REQUIRED_UNKNOWN
Default type unknown.
 o type
The attribute type.
 o TYPE_CDATA
Attribute type CDATA.
 o TYPE_ENTITIES
Attribute type ENTITIES.
 o TYPE_ENTITY
Attribute type ENTITY.
 o TYPE_ENUMERATED
Enumerated attribute type.
 o TYPE_ID
Attribute type ID.
 o TYPE_IDREF
Attribute type IDREF.
 o TYPE_IDREFS
Attribute type IDREFS.
 o TYPE_NMTOKEN
Attribute type NMTOKEN.
 o TYPE_NMTOKENS
Attribute type NMTOKENS.
 o TYPE_NOTATION
Notation attribute type.
 o TYPE_UNKNOWN
Attribute type unknown.

Constructor Index

 o Attribute()
Construct a new Attribute.
 o Attribute(NSName)
Construct a new Attribute from its local, prefixed and qualified names.
 o Attribute(String, String, String)
Construct a new Attribute from its local name, prefix, and namespace URI.

Variables

 o TYPE_UNKNOWN
 public static final int TYPE_UNKNOWN
Attribute type unknown.

 o TYPE_CDATA
 public static final int TYPE_CDATA
Attribute type CDATA.

 o TYPE_ID
 public static final int TYPE_ID
Attribute type ID.

 o TYPE_IDREF
 public static final int TYPE_IDREF
Attribute type IDREF.

 o TYPE_IDREFS
 public static final int TYPE_IDREFS
Attribute type IDREFS.

 o TYPE_ENTITY
 public static final int TYPE_ENTITY
Attribute type ENTITY.

 o TYPE_ENTITIES
 public static final int TYPE_ENTITIES
Attribute type ENTITIES.

 o TYPE_NMTOKEN
 public static final int TYPE_NMTOKEN
Attribute type NMTOKEN.

 o TYPE_NMTOKENS
 public static final int TYPE_NMTOKENS
Attribute type NMTOKENS.

 o TYPE_ENUMERATED
 public static final int TYPE_ENUMERATED
Enumerated attribute type.

 o TYPE_NOTATION
 public static final int TYPE_NOTATION
Notation attribute type.

 o REQUIRED_UNKNOWN
 public static final int REQUIRED_UNKNOWN
Default type unknown.

 o REQUIRED_REQUIRED
 public static final int REQUIRED_REQUIRED
Attribute is required, no default. Corresponds to #REQUIRED.

 o REQUIRED_OPTIONAL
 public static final int REQUIRED_OPTIONAL
Attribute is optional, no default. Corresponds to #IMPLIED.

 o REQUIRED_FIXED
 public static final int REQUIRED_FIXED
Attribute has a fixed default. Corresponds to #FIXED .

 o REQUIRED_DEFAULT
 public static final int REQUIRED_DEFAULT
Attribute is optional and has a default. Corresponds to .

 o name
 public NSName name
The local, prefixed, and qualified names of the attribute.

 o type
 public int type
The attribute type.

 o required
 public int required
Whether the attribute is required and has a default.

 o defaultValue
 public String defaultValue
The attribute's default value. May be null.

 o enums
 public Vector enums
The legal values for attributes with a type of TYPE_ENUMERATED or TYPE_NOTATION. Otherwise null.

Constructors

 o Attribute
 public Attribute()
Construct a new Attribute.

 o Attribute
 public Attribute(String local,
                  String prefix,
                  String uri)
Construct a new Attribute from its local name, prefix, and namespace URI.

 o Attribute
 public Attribute(NSName name)
Construct a new Attribute from its local, prefixed and qualified names.


All Packages  Class Hierarchy  This Package  Previous  Next  Index