All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.jclark.xml.parse.AttributeDefinition

public interface AttributeDefinition
Information about the definition of an Attribute.

See Also:
getAttributeDefinition

Variable Index

 o CDATA
 o ENTITIES
 o ENTITY
 o ENUM
 o ID
 o IDREF
 o IDREFS
 o NMTOKEN
 o NMTOKENS
 o NOTATION
 o UNDECLARED

Method Index

 o allowedValues()
Returns an enumeration over the allowed values if this was declared as an enumerated type, and null otherwise.
 o getDefaultUnnormalizedValue()
Returns the unnormalized default value or null if no default value was specified.
 o getDefaultValue()
Returns the normalized default value or null if no default value was specified.
 o getType()
Returns an integer corresponding to the type of the attribute.
 o isRequired()
Returns true if the attribute was #REQUIRED or #FIXED.

Variables

 o UNDECLARED
 public static final byte UNDECLARED
 o CDATA
 public static final byte CDATA
 o ID
 public static final byte ID
 o IDREF
 public static final byte IDREF
 o IDREFS
 public static final byte IDREFS
 o ENTITY
 public static final byte ENTITY
 o ENTITIES
 public static final byte ENTITIES
 o NMTOKEN
 public static final byte NMTOKEN
 o NMTOKENS
 public static final byte NMTOKENS
 o ENUM
 public static final byte ENUM
 o NOTATION
 public static final byte NOTATION

Methods

 o getDefaultValue
 public abstract String getDefaultValue()
Returns the normalized default value or null if no default value was specified.

 o getDefaultUnnormalizedValue
 public abstract String getDefaultUnnormalizedValue()
Returns the unnormalized default value or null if no default value was specified.

 o isRequired
 public abstract boolean isRequired()
Returns true if the attribute was #REQUIRED or #FIXED.

 o getType
 public abstract byte getType()
Returns an integer corresponding to the type of the attribute.

 o allowedValues
 public abstract Enumeration allowedValues()
Returns an enumeration over the allowed values if this was declared as an enumerated type, and null otherwise.


All Packages  Class Hierarchy  This Package  Previous  Next  Index