All Packages Class Hierarchy This Package Previous Next Index
Class de.tudarmstadt.ito.schemas.dtd.ElementType
java.lang.Object
|
+----de.tudarmstadt.ito.schemas.dtd.ElementType
- public class ElementType
- extends Object
Class representing an element type.
- Version:
- 1.01
- Author:
- Ronald Bourret, Technical University of Darmstadt
-
attributes
- A Hashtable of Attributes, keyed by the qualified attribute name
(Attribute.name.qualified).
-
children
- A Hashtable of child ElementTypes, keyed by the qualified element
type name (ElementType.name.qualified).
-
content
- A Group representing the content model.
-
CONTENT_ANY
- Any content type.
-
CONTENT_ELEMENT
- Element content type.
-
CONTENT_EMPTY
- Empty content type.
-
CONTENT_MIXED
- "Mixed" content type.
-
CONTENT_PCDATA
- PCDATA-only content type.
-
CONTENT_UNKNOWN
- Unknown content type.
-
contentType
- The type of the content model.
-
name
- The local, prefixed, and qualified names of the element type.
-
parents
- A Hashtable of parent ElementTypes, keyed by the qualified element
type name (ElementType.name.qualified).
-
ElementType()
- Construct a new ElementType.
-
ElementType(NSName)
- Construct a new ElementType and set its name.
CONTENT_UNKNOWN
public static final int CONTENT_UNKNOWN
- Unknown content type.
CONTENT_EMPTY
public static final int CONTENT_EMPTY
- Empty content type.
CONTENT_ANY
public static final int CONTENT_ANY
- Any content type.
CONTENT_PCDATA
public static final int CONTENT_PCDATA
- PCDATA-only content type.
CONTENT_MIXED
public static final int CONTENT_MIXED
- "Mixed" content type. The content model must include at least one
child element type.
CONTENT_ELEMENT
public static final int CONTENT_ELEMENT
- Element content type.
name
public NSName name
- The local, prefixed, and qualified names of the element type.
contentType
public int contentType
- The type of the content model. Must be one of the CONTENT_* constants.
content
public Group content
- A Group representing the content model. Must be null if the content type
is not CONTENT_ELEMENT or CONTENT_MIXED. In the latter case, it must be
a choice group with no child Groups.
attributes
public Hashtable attributes
- A Hashtable of Attributes, keyed by the qualified attribute name
(Attribute.name.qualified). May be empty.
children
public Hashtable children
- A Hashtable of child ElementTypes, keyed by the qualified element
type name (ElementType.name.qualified). May be empty.
parents
public Hashtable parents
- A Hashtable of parent ElementTypes, keyed by the qualified element
type name (ElementType.name.qualified). May be empty.
ElementType
public ElementType()
- Construct a new ElementType.
ElementType
public ElementType(NSName name)
- Construct a new ElementType and set its name.
All Packages Class Hierarchy This Package Previous Next Index