|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.ucsb.adl.reports.XmlDtd.Attribute
Represents an attribute. Attribute names and definitions are local to elements.
| Field Summary | |
java.lang.String |
defaultValue
The attribute's default value, or null if it
has no default. |
java.lang.String |
name
The attribute's name. |
boolean |
required
Indicates if the attribute is required. |
java.util.Hashtable |
values
The possible values for the attribute (expressed as hash table keys; the hash table values are unused), or null if the attribute's domain is
unconstrained (i.e., content type CDATA). |
| Constructor Summary | |
XmlDtd.Attribute(java.lang.String name,
boolean required,
java.util.Hashtable values,
java.lang.String defaultValue)
Creates an Attribute. |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public final java.lang.String name
public final boolean required
public final java.util.Hashtable values
null if the attribute's domain is
unconstrained (i.e., content type CDATA).
public final java.lang.String defaultValue
null if it
has no default.
| Constructor Detail |
public XmlDtd.Attribute(java.lang.String name,
boolean required,
java.util.Hashtable values,
java.lang.String defaultValue)
Attribute.
name - The attribute's name.required - Indicates if the attribute is required.values - The possible values for the attribute, or null.defaultValue - The attribute's default value, or null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||