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
-
ANY_CONTENT
-
-
ELEMENT_CONTENT
-
-
EMPTY_CONTENT
-
-
MIXED_CONTENT
-
-
UNDECLARED_CONTENT
-
-
attributeNames()
- Returns an enumeration over the names of attributes defined
for an element type.
-
getAttributeDefinition(String)
- Returns the definition of the specified attribute or
null if no such attribute is defined.
-
getContentSpec()
- Returns the
contentspec for the element type;
the contentspec is the part of the element type declaration
following the element type name.
-
getContentType()
- Returns an integer corresponding to the content specified for
an element type.
UNDECLARED_CONTENT
public static final byte UNDECLARED_CONTENT
ANY_CONTENT
public static final byte ANY_CONTENT
MIXED_CONTENT
public static final byte MIXED_CONTENT
EMPTY_CONTENT
public static final byte EMPTY_CONTENT
ELEMENT_CONTENT
public static final byte ELEMENT_CONTENT
getContentType
public abstract byte getContentType()
- Returns an integer corresponding to the content specified for
an element type.
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.
attributeNames
public abstract Enumeration attributeNames()
- Returns an enumeration over the names of attributes defined
for an element type.
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