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.
- Version:
- 1.01
- Author:
- Ronald Bourret, Technical University of Darmstadt
-
defaultValue
- The attribute's default value.
-
enums
- The legal values for attributes with a type of TYPE_ENUMERATED or
TYPE_NOTATION.
-
name
- The local, prefixed, and qualified names of the attribute.
-
required
- Whether the attribute is required and has a default.
-
REQUIRED_DEFAULT
- Attribute is optional and has a default.
-
REQUIRED_FIXED
- Attribute has a fixed default.
-
REQUIRED_OPTIONAL
- Attribute is optional, no default.
-
REQUIRED_REQUIRED
- Attribute is required, no default.
-
REQUIRED_UNKNOWN
- Default type unknown.
-
type
- The attribute type.
-
TYPE_CDATA
- Attribute type CDATA.
-
TYPE_ENTITIES
- Attribute type ENTITIES.
-
TYPE_ENTITY
- Attribute type ENTITY.
-
TYPE_ENUMERATED
- Enumerated attribute type.
-
TYPE_ID
- Attribute type ID.
-
TYPE_IDREF
- Attribute type IDREF.
-
TYPE_IDREFS
- Attribute type IDREFS.
-
TYPE_NMTOKEN
- Attribute type NMTOKEN.
-
TYPE_NMTOKENS
- Attribute type NMTOKENS.
-
TYPE_NOTATION
- Notation attribute type.
-
TYPE_UNKNOWN
- Attribute type unknown.
-
Attribute()
- Construct a new Attribute.
-
Attribute(NSName)
- Construct a new Attribute from its local, prefixed and qualified names.
-
Attribute(String, String, String)
- Construct a new Attribute from its local name, prefix, and namespace URI.
TYPE_UNKNOWN
public static final int TYPE_UNKNOWN
- Attribute type unknown.
TYPE_CDATA
public static final int TYPE_CDATA
- Attribute type CDATA.
TYPE_ID
public static final int TYPE_ID
- Attribute type ID.
TYPE_IDREF
public static final int TYPE_IDREF
- Attribute type IDREF.
TYPE_IDREFS
public static final int TYPE_IDREFS
- Attribute type IDREFS.
TYPE_ENTITY
public static final int TYPE_ENTITY
- Attribute type ENTITY.
TYPE_ENTITIES
public static final int TYPE_ENTITIES
- Attribute type ENTITIES.
TYPE_NMTOKEN
public static final int TYPE_NMTOKEN
- Attribute type NMTOKEN.
TYPE_NMTOKENS
public static final int TYPE_NMTOKENS
- Attribute type NMTOKENS.
TYPE_ENUMERATED
public static final int TYPE_ENUMERATED
- Enumerated attribute type.
TYPE_NOTATION
public static final int TYPE_NOTATION
- Notation attribute type.
REQUIRED_UNKNOWN
public static final int REQUIRED_UNKNOWN
- Default type unknown.
REQUIRED_REQUIRED
public static final int REQUIRED_REQUIRED
- Attribute is required, no default. Corresponds to #REQUIRED.
REQUIRED_OPTIONAL
public static final int REQUIRED_OPTIONAL
- Attribute is optional, no default. Corresponds to #IMPLIED.
REQUIRED_FIXED
public static final int REQUIRED_FIXED
- Attribute has a fixed default. Corresponds to #FIXED .
REQUIRED_DEFAULT
public static final int REQUIRED_DEFAULT
- Attribute is optional and has a default. Corresponds to .
name
public NSName name
- The local, prefixed, and qualified names of the attribute.
type
public int type
- The attribute type.
required
public int required
- Whether the attribute is required and has a default.
defaultValue
public String defaultValue
- The attribute's default value. May be null.
enums
public Vector enums
- The legal values for attributes with a type of TYPE_ENUMERATED or
TYPE_NOTATION. Otherwise null.
Attribute
public Attribute()
- Construct a new Attribute.
Attribute
public Attribute(String local,
String prefix,
String uri)
- Construct a new Attribute from its local name, prefix, and namespace URI.
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