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.
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 |
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
getMode
int getMode()
- Gets the processing mode.
- Returns:
- Either LAX, STRICT, or SKIP.
acceptsNamespace
boolean acceptsNamespace(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)
Copyright © 2012 Oracle. All Rights Reserved.