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

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.Other
All Implemented Interfaces:
Ref.Term, XSComponent, XSTerm, XSWildcard, XSWildcard.Other
Enclosing class:
WildcardImpl

public static final class WildcardImpl.Other
extends WildcardImpl
implements XSWildcard.Other


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.Other(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, String otherNamespace, int _mode)
           
 
Method Summary
 boolean acceptsNamespace(String namespaceURI)
          Returns true if the specified namespace URI is valid wrt this wildcard.
 Object apply(XSWildcardFunction function)
           
 String getOtherNamespace()
          Gets the namespace URI excluded from this wildcard.
 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.Other

public WildcardImpl.Other(SchemaDocumentImpl owner,
                          AnnotationImpl _annon,
                          Locator _loc,
                          ForeignAttributesImpl _fa,
                          String otherNamespace,
                          int _mode)
Method Detail

getOtherNamespace

public String getOtherNamespace()
Description copied from interface: XSWildcard.Other
Gets the namespace URI excluded from this wildcard.

Specified by:
getOtherNamespace in interface XSWildcard.Other

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 © 2015 Oracle Corporation. All Rights Reserved.