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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface##anywildcard.static interface##otherwildcard.static interfaceWildcard of a set of namespace URIs. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsNamespace(String namespaceURI) Returns true if the specified namespace URI is valid wrt this wildcard.<T> Tapply(XSWildcardFunction<T> function) intgetMode()Gets the processing mode.voidvisit(XSWildcardVisitor visitor) Visitor support.Methods inherited from interface com.sun.xml.xsom.XSComponent
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visitMethods 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
-