Top Description Inners Fields Methods
com.sun.xml.xsom

public Interface XSWildcard

extends XSComponent, XSTerm
Known Direct Subinterfaces
com.sun.xml.xsom.XSWildcard.Any, com.sun.xml.xsom.XSWildcard.Other, com.sun.xml.xsom.XSWildcard.Union
Known Direct Implementers
com.sun.xml.xsom.impl.WildcardImpl
Imports
java.util.Iterator, .Collection, com.sun.xml.xsom.visitor.XSWildcardFunction, .XSWildcardVisitor

Wildcard schema component (used for both attribute wildcard and element wildcard.) XSWildcard interface can always be downcasted to either Any, Other, or Union.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
XSWildcard.Any

##any wildcard.

public static interface
XSWildcard.Other

##other wildcard.

public static interface
XSWildcard.Union

Wildcard of a set of namespace URIs.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int

Method Summary

Modifier and TypeMethod and Description
public boolean
acceptsNamespace(String
Use the empty string to test the default no-namespace.
namespaceURI
)

Returns true if the specified namespace URI is valid wrt this wildcard.

public <T> T
public int

Returns:

Either LAX, STRICT, or SKIP.
getMode
()

Gets the processing mode.

public void
visit(XSWildcardVisitor visitor)

Visitor support.

Inherited from com.sun.xml.xsom.XSComponent:
applygetAnnotationgetAnnotationgetForeignAttributegetForeignAttributesgetLocatorgetOwnerSchemagetRootgetSourceDocumentselectselectSinglevisit
Inherited from com.sun.xml.xsom.XSTerm:
applyapplyasElementDeclasModelGroupasModelGroupDeclasWildcardisElementDeclisModelGroupisModelGroupDeclisWildcardvisit

Field Detail

LAXback to summary
public static final int LAX
SKIPback to summary
public static final int SKIP
STRTICTback to summary
public static final int STRTICT

Method Detail

acceptsNamespaceback to summary
public boolean acceptsNamespace(String namespaceURI)

Returns true if the specified namespace URI is valid wrt this wildcard.

Parameters
namespaceURI:String

Use the empty string to test the default no-namespace.

applyback to summary
public <T> T apply(XSWildcardFunction<T> function)
getModeback to summary
public int getMode()

Gets the processing mode.

Returns:int

Either LAX, STRICT, or SKIP.

visitback to summary
public void visit(XSWildcardVisitor visitor)

Visitor support.

com.sun.xml.xsom back to summary

public Interface XSWildcard.Any

extends XSWildcard
Known Direct Implementers
com.sun.xml.xsom.impl.WildcardImpl.Any

##any wildcard.

Field Summary

Inherited from com.sun.xml.xsom.XSWildcard:
LAXSKIPSTRTICT

Method Summary

Inherited from com.sun.xml.xsom.XSWildcard:
acceptsNamespaceapplygetModevisit
com.sun.xml.xsom back to summary

public Interface XSWildcard.Other

extends XSWildcard
Known Direct Implementers
com.sun.xml.xsom.impl.WildcardImpl.Other

##other wildcard.

Field Summary

Inherited from com.sun.xml.xsom.XSWildcard:
LAXSKIPSTRTICT

Method Summary

Modifier and TypeMethod and Description
public String
getOtherNamespace()

Gets the namespace URI excluded from this wildcard.

Inherited from com.sun.xml.xsom.XSWildcard:
acceptsNamespaceapplygetModevisit

Method Detail

getOtherNamespaceback to summary
public String getOtherNamespace()

Gets the namespace URI excluded from this wildcard.

com.sun.xml.xsom back to summary

public Interface XSWildcard.Union

extends XSWildcard
Known Direct Implementers
com.sun.xml.xsom.impl.WildcardImpl.Finite

Wildcard of a set of namespace URIs.

Field Summary

Inherited from com.sun.xml.xsom.XSWildcard:
LAXSKIPSTRTICT

Method Summary

Modifier and TypeMethod and Description
public Collection<String>
getNamespaces()

Read-only list of namespace URIs.

public Iterator<String>
iterateNamespaces()

Short for getNamespaces().iterator()

Inherited from com.sun.xml.xsom.XSWildcard:
acceptsNamespaceapplygetModevisit

Method Detail

getNamespacesback to summary
public Collection<String> getNamespaces()

Read-only list of namespace URIs.

iterateNamespacesback to summary
public Iterator<String> iterateNamespaces()

Short for getNamespaces().iterator()