This class can be extended.
| Modifier and Type | Field and Description |
|---|---|
| public Expression | contentModel
content model of this element declaration. |
| public boolean | ignoreUndeclaredAttributes
a flag that indicates undeclared attributes should be ignored. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected final boolean | calcEpsilonReducibility()
Implements abstract com. |
| protected final int | calcHashCode()
Implements abstract com. |
| public final boolean | equals(Object
the reference object with which to compare. o)Implements abstract com. |
| public final Expression | |
| public abstract NameClass | getNameClass()
Redeclares com. |
| public final Object | |
| public final Expression | |
| public final boolean | |
| public final void |
| contentModel | back to summary |
|---|---|
| public Expression contentModel content model of this element declaration. | |
| ignoreUndeclaredAttributes | back to summary |
|---|---|
| public boolean ignoreUndeclaredAttributes a flag that indicates undeclared attributes should be ignored. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ElementExp | back to summary |
|---|---|
| public ElementExp(Expression contentModel, boolean ignoreUndeclaredAttributes) | |
| calcEpsilonReducibility | back to summary |
|---|---|
| protected final boolean calcEpsilonReducibility() Implements abstract com. Doc from com. computes epsilon reducibility | |
| calcHashCode | back to summary |
|---|---|
| protected final int calcHashCode() Implements abstract com. Doc from com. Computes the hashCode again. This method and the parameter to the constructor has to be the same. This method is used when the object is being read from the stream. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract com. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getContentModel | back to summary |
|---|---|
| public final Expression getContentModel() Implements com. | |
| getNameClass | back to summary |
|---|---|
| public abstract NameClass getNameClass() Redeclares com. obtains a constraint over tag name. ElementExp is cannot be shared because NameClass has to be mutable to absorb the difference of RELAX and TREX. In case of TREX, name class will be determined when parsing ElementExp itself. Thus effectively it's immutable. In case of RELAX, name class will be determined when its corresponding Clause object is parsed. | |
| visit | back to summary |
|---|---|
| public final Object visit(ExpressionVisitor visitor) Implements abstract com. | |
| visit | back to summary |
|---|---|
| public final Expression visit(ExpressionVisitorExpression visitor) Implements abstract com. | |
| visit | back to summary |
|---|---|
| public final boolean visit(ExpressionVisitorBoolean visitor) Implements abstract com. | |
| visit | back to summary |
|---|---|
| public final void visit(ExpressionVisitorVoid visitor) Implements abstract com. | |