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

Variable Index

 o attributes
A Hashtable of Attributes, keyed by the qualified attribute name (Attribute.name.qualified).
 o children
A Hashtable of child ElementTypes, keyed by the qualified element type name (ElementType.name.qualified).
 o content
A Group representing the content model.
 o CONTENT_ANY
Any content type.
 o CONTENT_ELEMENT
Element content type.
 o CONTENT_EMPTY
Empty content type.
 o CONTENT_MIXED
"Mixed" content type.
 o CONTENT_PCDATA
PCDATA-only content type.
 o CONTENT_UNKNOWN
Unknown content type.
 o contentType
The type of the content model.
 o name
The local, prefixed, and qualified names of the element type.
 o parents
A Hashtable of parent ElementTypes, keyed by the qualified element type name (ElementType.name.qualified).

Constructor Index

 o ElementType()
Construct a new ElementType.
 o ElementType(NSName)
Construct a new ElementType and set its name.

Variables

 o CONTENT_UNKNOWN
 public static final int CONTENT_UNKNOWN
Unknown content type.

 o CONTENT_EMPTY
 public static final int CONTENT_EMPTY
Empty content type.

 o CONTENT_ANY
 public static final int CONTENT_ANY
Any content type.

 o CONTENT_PCDATA
 public static final int CONTENT_PCDATA
PCDATA-only content type.

 o CONTENT_MIXED
 public static final int CONTENT_MIXED
"Mixed" content type. The content model must include at least one child element type.

 o CONTENT_ELEMENT
 public static final int CONTENT_ELEMENT
Element content type.

 o name
 public NSName name
The local, prefixed, and qualified names of the element type.

 o contentType
 public int contentType
The type of the content model. Must be one of the CONTENT_* constants.

 o 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.

 o attributes
 public Hashtable attributes
A Hashtable of Attributes, keyed by the qualified attribute name (Attribute.name.qualified). May be empty.

 o children
 public Hashtable children
A Hashtable of child ElementTypes, keyed by the qualified element type name (ElementType.name.qualified). May be empty.

 o parents
 public Hashtable parents
A Hashtable of parent ElementTypes, keyed by the qualified element type name (ElementType.name.qualified). May be empty.

Constructors

 o ElementType
 public ElementType()
Construct a new ElementType.

 o ElementType
 public ElementType(NSName name)
Construct a new ElementType and set its name.


All Packages  Class Hierarchy  This Package  Previous  Next  Index