All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.jclark.xml.parse.ElementType

public interface ElementType
Information about an element type.

See Also:
getElementType

Variable Index

 o ANY_CONTENT
 o ELEMENT_CONTENT
 o EMPTY_CONTENT
 o MIXED_CONTENT
 o UNDECLARED_CONTENT

Method Index

 o attributeNames()
Returns an enumeration over the names of attributes defined for an element type.
 o getAttributeDefinition(String)
Returns the definition of the specified attribute or null if no such attribute is defined.
 o getContentSpec()
Returns the contentspec for the element type; the contentspec is the part of the element type declaration following the element type name.
 o getContentType()
Returns an integer corresponding to the content specified for an element type.

Variables

 o UNDECLARED_CONTENT
 public static final byte UNDECLARED_CONTENT
 o ANY_CONTENT
 public static final byte ANY_CONTENT
 o MIXED_CONTENT
 public static final byte MIXED_CONTENT
 o EMPTY_CONTENT
 public static final byte EMPTY_CONTENT
 o ELEMENT_CONTENT
 public static final byte ELEMENT_CONTENT

Methods

 o getContentType
 public abstract byte getContentType()
Returns an integer corresponding to the content specified for an element type.

 o getContentSpec
 public abstract String getContentSpec()
Returns the contentspec for the element type; the contentspec is the part of the element type declaration following the element type name. The contentspec will have parameter entity references expanded and whitespace removed. Returns null if the element type was not declared.

 o attributeNames
 public abstract Enumeration attributeNames()
Returns an enumeration over the names of attributes defined for an element type.

 o getAttributeDefinition
 public abstract AttributeDefinition getAttributeDefinition(String name)
Returns the definition of the specified attribute or null if no such attribute is defined.


All Packages  Class Hierarchy  This Package  Previous  Next  Index