public class AnyOtherElementExp extends ElementExp implements ElementDecl
| Modifier and Type | Field and Description |
|---|---|
String |
excludeNamespace |
String |
includeNamespace |
NameClass |
nameClass
this name class matches all the namespaces that are accepted by this anyOtherElement.
|
Locator |
source
where did this reference is written in the source file.
|
contentModel, ignoreUndeclaredAttributesanyString, epsilon, nullSet, verifierTag| Constructor and Description |
|---|
AnyOtherElementExp(Locator loc,
String includeNamespace,
String excludeNamespace)
creates "skelton" of AnyOtherElement.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFeature(String feature)
looks up the value of a feature
this method works like getFeature method of SAX.
|
String |
getName()
gets name of this rule.
|
NameClass |
getNameClass()
obtains a constraint over tag name.
|
Object |
getProperty(String property)
looks up the value of a property
this method works like getProperty method of SAX.
|
protected void |
wrapUp(Grammar owner,
Expression pseudoContentModel,
SchemaProvider provider,
ErrorHandler errorHandler)
creates pseudo content model and name class.
|
calcEpsilonReducibility, calcHashCode, equals, getContentModel, visit, visit, visit, visitgetExpandedExp, hashCode, hashCode, hashCode, isEpsilonReducible, peelOccurence, readResolve, visit, visit, visit, visitpublic NameClass nameClass
public transient Locator source
public final String includeNamespace
public final String excludeNamespace
public NameClass getNameClass()
ElementExpgetNameClass in interface NameClassAndExpressiongetNameClass in class ElementExppublic String getName()
ElementDeclgetName in interface ElementDeclprotected void wrapUp(Grammar owner, Expression pseudoContentModel, SchemaProvider provider, ErrorHandler errorHandler) throws SAXException
SAXExceptionpublic boolean getFeature(String feature) throws SAXNotRecognizedException
ElementDeclgetFeature in interface ElementDeclSAXNotRecognizedExceptionpublic Object getProperty(String property) throws SAXNotRecognizedException
ElementDeclgetProperty in interface ElementDeclSAXNotRecognizedExceptionCopyright © 2017 Oracle Corporation. All rights reserved.