| Modifier and Type | Field and Description |
|---|---|
| public final String | |
| public final String | |
| public NameClass | nameClass
this name class matches all the namespaces that are accepted by this anyOtherElement. |
| public transient Locator | source
where did this reference is written in the source file. |
| Access | Constructor and Description |
|---|---|
| public | AnyOtherElementExp(Locator loc, String includeNamespace, String excludeNamespace)
creates "skelton" of AnyOtherElement. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | getFeature(String feature)
Implements org. |
| public String | |
| public NameClass | getNameClass()
Implements abstract com. Implements com. |
| public Object | getProperty(String property)
Implements org. |
| protected void | wrapUp(Grammar owner, Expression pseudoContentModel, SchemaProvider provider, ErrorHandler errorHandler)
creates pseudo content model and name class. |
| excludeNamespace | back to summary |
|---|---|
| public final String excludeNamespace | |
| includeNamespace | back to summary |
|---|---|
| public final String includeNamespace | |
| nameClass | back to summary |
|---|---|
| public NameClass nameClass this name class matches all the namespaces that are accepted by this anyOtherElement. this field is set by bind method. | |
| 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. | |
| AnyOtherElementExp | back to summary |
|---|---|
| public AnyOtherElementExp(Locator loc, String includeNamespace, String excludeNamespace) creates "skelton" of AnyOtherElement. pseudo content model and name class must be supplied separately. | |
| getFeature | back to summary |
|---|---|
| public boolean getFeature(String feature) throws SAXNotRecognizedException Implements org. Doc from org. looks up the value of a feature this method works like getFeature method of SAX. featureName is a fully-qualified URI. Implementators are encouraged to invent their own features, by using their own URIs. | |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. gets name of this rule. every ElementDecl has a unique name within the schema. | |
| 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. | |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String property) throws SAXNotRecognizedException Implements org. Doc from org. looks up the value of a property this method works like getProperty method of SAX. propertyName is a fully-qualified URI. Implementators are encouraged to invent their own properties, by using their own URIs. | |
| wrapUp | back to summary |
|---|---|
| protected void wrapUp(Grammar owner, Expression pseudoContentModel, SchemaProvider provider, ErrorHandler errorHandler) throws SAXException creates pseudo content model and name class. This function is called by RELAXIslandSchema object. Therefore, line information is not automatically available when reporting error. Implementator should keep this in mind and manually pass Locator to reportError method. | |