Package com.sun.xml.xsom
Interface XSWildcard
-
- All Superinterfaces:
XSComponent
,XSTerm
- All Known Subinterfaces:
XSWildcard.Any
,XSWildcard.Other
,XSWildcard.Union
- All Known Implementing Classes:
WildcardImpl
,WildcardImpl.Any
,WildcardImpl.Finite
,WildcardImpl.Other
public interface XSWildcard extends XSComponent, XSTerm
Wildcard schema component (used for both attribute wildcard and element wildcard.) XSWildcard interface can always be downcasted to either Any, Other, or Union.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
XSWildcard.Any
##any
wildcard.static interface
XSWildcard.Other
##other
wildcard.static interface
XSWildcard.Union
Wildcard of a set of namespace URIs.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
acceptsNamespace(java.lang.String namespaceURI)
Returns true if the specified namespace URI is valid wrt this wildcard.<T> T
apply(XSWildcardFunction<T> function)
int
getMode()
Gets the processing mode.void
visit(XSWildcardVisitor visitor)
Visitor support.-
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
-
-
-
-
Field Detail
-
LAX
static final int LAX
- See Also:
- Constant Field Values
-
STRTICT
static final int STRTICT
- See Also:
- Constant Field Values
-
SKIP
static final int SKIP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMode
int getMode()
Gets the processing mode.- Returns:
- Either LAX, STRICT, or SKIP.
-
acceptsNamespace
boolean acceptsNamespace(java.lang.String namespaceURI)
Returns true if the specified namespace URI is valid wrt this wildcard.- Parameters:
namespaceURI
- Use the empty string to test the default no-namespace.
-
visit
void visit(XSWildcardVisitor visitor)
Visitor support.
-
apply
<T> T apply(XSWildcardFunction<T> function)
-
-