com.sun.tools.xjc.reader.dtd
final class Element extends Term implements Comparable<Element>
This class extends Term to participate in the content model tree.
This class is repsonsible for binding the element.
Field Summary | |
---|---|
List<CPropertyInfo> | attributes
List of attribute properties on this element |
boolean | isReferenced
True if this element is referenced from another element. |
String | name
Name of the element. |
Constructor Summary | |
---|---|
Element(TDTDReader owner, String name) |
Method Summary | |
---|---|
void | addAllElements(Block b) |
void | bind() |
int | compareTo(Element that) |
void | define(short contentModelType, Term contentModel, Locator locator)
Define its content model. |
CClassInfo | getClassInfo()
Return null if this class is not bound to a class. |
boolean | isOptional() |
boolean | isRepeated() |
void | normalize(List<Block> r, boolean optional) |