com.sun.xml.xsom.impl
Class WildcardImpl.Finite

java.lang.Object
  extended by com.sun.xml.xsom.impl.ComponentImpl
      extended by com.sun.xml.xsom.impl.WildcardImpl
          extended by 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
WildcardImpl.Finite(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, Set<String> ns, int _mode)
           
 
Method Summary
 boolean acceptsNamespace(String namespaceURI)
          Returns true if the specified namespace URI is valid wrt this wildcard.
 Object apply(XSWildcardFunction function)
           
 Collection<String> getNamespaces()
          Read-only list of namespace URIs.
 Iterator<String> iterateNamespaces()
          Short for getNamespaces().iterator()
 void visit(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.XSWildcard
getMode
 
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.XSComponent
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
 

Constructor Detail

WildcardImpl.Finite

public WildcardImpl.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.Union
Short for getNamespaces().iterator()

Specified by:
iterateNamespaces in interface XSWildcard.Union

getNamespaces

public Collection<String> getNamespaces()
Description copied from interface: XSWildcard.Union
Read-only list of namespace URIs.

Specified by:
getNamespaces in interface XSWildcard.Union

acceptsNamespace

public boolean acceptsNamespace(String namespaceURI)
Description copied from interface: XSWildcard
Returns true if the specified namespace URI is valid wrt this wildcard.

Specified by:
acceptsNamespace in interface XSWildcard
Parameters:
namespaceURI - Use the empty string to test the default no-namespace.

visit

public void visit(XSWildcardVisitor visitor)
Description copied from interface: XSWildcard
Visitor support.

Specified by:
visit in interface XSWildcard

apply

public Object apply(XSWildcardFunction function)
Specified by:
apply in interface XSWildcard


Copyright © 2012 Oracle. All Rights Reserved.