| Modifier and Type | Field and Description |
|---|---|
| private final NamespaceNameClass | nameClass
NamespaceNameClass object that matchs this namespace. |
| public final String | namespaceURI
namespace URI that this ExternalElementExp belongs to. |
| public ElementDecl | rule
imported ElementDecl object that actually validates this element. |
| public final String | ruleName
name of the imported Rule |
| public transient Locator | source
where did this reference is written in the source file. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public NameClass | getNameClass()
Implements abstract com. Implements com. |
| nameClass | back to summary |
|---|---|
| private final NamespaceNameClass nameClass NamespaceNameClass object that matchs this namespace. | |
| namespaceURI | back to summary |
|---|---|
| public final String namespaceURI namespace URI that this ExternalElementExp belongs to. | |
| rule | back to summary |
|---|---|
| public ElementDecl rule imported ElementDecl object that actually validates this element. this variable is set during binding phase. | |
| ruleName | back to summary |
|---|---|
| public final String ruleName name of the imported Rule | |
| source | back to summary |
|---|---|
| public transient Locator source where did this reference is written in the source file. can be set to null (to reduce memory usage) at anytime. | |
| ExternalElementExp | back to summary |
|---|---|
| public ExternalElementExp(ExpressionPool pool, String namespaceURI, String ruleName, Locator loc) | |
| getNameClass | back to summary |
|---|---|
| public 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. | |