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
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
Modifier and TypeInterfaceDescriptionstatic interface
##any
wildcard.static interface
##other
wildcard.static interface
Wildcard of a set of namespace URIs. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptsNamespace
(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 Details
-
LAX
static final int LAX- See Also:
-
STRTICT
static final int STRTICT- See Also:
-
SKIP
static final int SKIP- See Also:
-
-
Method Details
-
getMode
int getMode()Gets the processing mode.- Returns:
- Either LAX, STRICT, or SKIP.
-
acceptsNamespace
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
Visitor support. -
apply
-