| Modifier and Type | Field and Description |
|---|---|
| public final Expression | attributeFreeContentModel
Attribute-free content model |
| public final TagClause | clause
constraints over start tag of the element |
| protected ElementRules | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final NameClass | getNameClass()
Implements abstract com. Implements com. |
| public ElementRules |
| attributeFreeContentModel | back to summary |
|---|---|
| public final Expression attributeFreeContentModel Attribute-free content model | |
| clause | back to summary |
|---|---|
| public final TagClause clause constraints over start tag of the element | |
| parent | back to summary |
|---|---|
| protected ElementRules parent | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ElementRule | back to summary |
|---|---|
| public ElementRule(ExpressionPool pool, TagClause clause, Expression contentModel) | |
| getNameClass | back to summary |
|---|---|
| public final NameClass getNameClass() Implements abstract com. Implements com. Doc from 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. | |
| getParent | back to summary |
|---|---|
| public ElementRules getParent() gets the parent ElementRules object. when this object is used as a named, no-inline elementRule, this variable holds a reference to the parent ElementRules object. otherwise, null | |