Package com.sun.xml.xsom.impl
Class WildcardImpl.Finite
- java.lang.Object
-
- com.sun.xml.xsom.impl.ComponentImpl
-
- com.sun.xml.xsom.impl.WildcardImpl
-
- com.sun.xml.xsom.impl.WildcardImpl.Finite
-
- All Implemented Interfaces:
Ref.Term,XSComponent,XSTerm,XSWildcard,XSWildcard.Union
- Enclosing class:
- WildcardImpl
public static final class WildcardImpl.Finite extends WildcardImpl implements XSWildcard.Union
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.sun.xml.xsom.impl.WildcardImpl
WildcardImpl.Any, WildcardImpl.Finite, WildcardImpl.Other
-
Nested classes/interfaces inherited from interface com.sun.xml.xsom.XSWildcard
XSWildcard.Any, XSWildcard.Other, XSWildcard.Union
-
-
Field Summary
-
Fields inherited from class com.sun.xml.xsom.impl.ComponentImpl
ownerDocument
-
Fields inherited from interface com.sun.xml.xsom.XSWildcard
LAX, SKIP, STRTICT
-
-
Constructor Summary
Constructors Constructor Description Finite(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, Set<String> ns, int _mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptsNamespace(String namespaceURI)Returns true if the specified namespace URI is valid wrt this wildcard.Objectapply(XSWildcardFunction function)Collection<String>getNamespaces()Read-only list of namespace URIs.Iterator<String>iterateNamespaces()Short forgetNamespaces().iterator()voidvisit(XSWildcardVisitor visitor)Visitor support.-
Methods inherited from class com.sun.xml.xsom.impl.WildcardImpl
apply, apply, apply, asElementDecl, asModelGroup, asModelGroupDecl, asWildcard, getMode, getTerm, isElementDecl, isModelGroup, isModelGroupDecl, isWildcard, union, visit, visit
-
Methods inherited from class com.sun.xml.xsom.impl.ComponentImpl
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.sun.xml.xsom.XSComponent
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
-
Methods inherited from interface com.sun.xml.xsom.XSTerm
apply, apply, asElementDecl, asModelGroup, asModelGroupDecl, asWildcard, isElementDecl, isModelGroup, isModelGroupDecl, isWildcard, visit
-
Methods inherited from interface com.sun.xml.xsom.XSWildcard
getMode
-
-
-
-
Constructor Detail
-
Finite
public Finite(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, Set<String> ns, int _mode)
-
-
Method Detail
-
iterateNamespaces
public Iterator<String> iterateNamespaces()
Description copied from interface:XSWildcard.UnionShort forgetNamespaces().iterator()- Specified by:
iterateNamespacesin interfaceXSWildcard.Union
-
getNamespaces
public Collection<String> getNamespaces()
Description copied from interface:XSWildcard.UnionRead-only list of namespace URIs.- Specified by:
getNamespacesin interfaceXSWildcard.Union
-
acceptsNamespace
public boolean acceptsNamespace(String namespaceURI)
Description copied from interface:XSWildcardReturns true if the specified namespace URI is valid wrt this wildcard.- Specified by:
acceptsNamespacein interfaceXSWildcard- Parameters:
namespaceURI- Use the empty string to test the default no-namespace.
-
visit
public void visit(XSWildcardVisitor visitor)
Description copied from interface:XSWildcardVisitor support.- Specified by:
visitin interfaceXSWildcard
-
apply
public Object apply(XSWildcardFunction function)
- Specified by:
applyin interfaceXSWildcard
-
-