Ref.Term
, XSComponent
, XSTerm
, XSWildcard
, XSWildcard.Other
public static final class WildcardImpl.Other extends WildcardImpl implements XSWildcard.Other
WildcardImpl.Any, WildcardImpl.Finite, WildcardImpl.Other
XSWildcard.Any, XSWildcard.Other, XSWildcard.Union
ownerDocument
LAX, SKIP, STRTICT
Constructor | Description |
---|---|
Other(SchemaDocumentImpl owner,
AnnotationImpl _annon,
org.xml.sax.Locator _loc,
ForeignAttributesImpl _fa,
java.lang.String otherNamespace,
int _mode) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
acceptsNamespace(java.lang.String namespaceURI) |
Returns true if the specified namespace URI is valid
wrt this wildcard.
|
java.lang.Object |
apply(XSWildcardFunction function) |
|
java.lang.String |
getOtherNamespace() |
Gets the namespace URI excluded from this wildcard.
|
void |
visit(XSWildcardVisitor visitor) |
Visitor support.
|
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
apply, apply, apply, asElementDecl, asModelGroup, asModelGroupDecl, asWildcard, getMode, getTerm, isElementDecl, isModelGroup, isModelGroupDecl, isWildcard, union, visit, visit
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
apply, apply, asElementDecl, asModelGroup, asModelGroupDecl, asWildcard, isElementDecl, isModelGroup, isModelGroupDecl, isWildcard, visit
getMode
public Other(SchemaDocumentImpl owner, AnnotationImpl _annon, org.xml.sax.Locator _loc, ForeignAttributesImpl _fa, java.lang.String otherNamespace, int _mode)
public java.lang.String getOtherNamespace()
XSWildcard.Other
getOtherNamespace
in interface XSWildcard.Other
public boolean acceptsNamespace(java.lang.String namespaceURI)
XSWildcard
acceptsNamespace
in interface XSWildcard
namespaceURI
- Use the empty string to test the default no-namespace.public void visit(XSWildcardVisitor visitor)
XSWildcard
visit
in interface XSWildcard
public java.lang.Object apply(XSWildcardFunction function)
apply
in interface XSWildcard
Copyright © 2018 Oracle Corporation. All rights reserved.