|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.xjc.reader.dtd.Term
com.sun.tools.xjc.reader.dtd.Element
final class Element
DTD Element.
This class extends Term
to participate in the content model tree.
This class is repsonsible for binding the element.
Field Summary | |
---|---|
(package private) List<CPropertyInfo> |
attributes
List of attribute properties on this element |
(package private) boolean |
isReferenced
True if this element is referenced from another element. |
(package private) String |
name
Name of the element. |
Fields inherited from class com.sun.tools.xjc.reader.dtd.Term |
---|
EMPTY |
Constructor Summary | |
---|---|
Element(TDTDReader owner,
String name)
|
Method Summary | |
---|---|
(package private) void |
addAllElements(Block b)
|
(package private) void |
bind()
|
int |
compareTo(Element that)
|
(package private) void |
define(short contentModelType,
Term contentModel,
Locator locator)
Define its content model. |
(package private) CClassInfo |
getClassInfo()
Return null if this class is not bound to a class. |
(package private) boolean |
isOptional()
|
(package private) boolean |
isRepeated()
|
(package private) void |
normalize(List<Block> r,
boolean optional)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final String name
boolean isReferenced
final List<CPropertyInfo> attributes
Constructor Detail |
---|
public Element(TDTDReader owner, String name)
Method Detail |
---|
void normalize(List<Block> r, boolean optional)
normalize
in class Term
void addAllElements(Block b)
addAllElements
in class Term
boolean isOptional()
isOptional
in class Term
boolean isRepeated()
isRepeated
in class Term
void define(short contentModelType, Term contentModel, Locator locator)
CClassInfo getClassInfo()
void bind()
public int compareTo(Element that)
compareTo
in interface Comparable<Element>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |