org.apache.xmlbeans
Class QNameSet

This interface represents a lattice of finite and infinite sets of QNames.
The lattice the minimal one that is closed under union, intersection, and
inverse, and contains individual QNames as well as entire namespaces.
Here is a summary of the two kinds of QNameSets:

A QNameSet can cover a finite set of namespaces, additionally including a finite
set of QNames outside those namespaces, and with the exception of
a finite set of QNames excluded from those namespaes:

excludedQNamesInIncludedURIs == the set of excluded QNames from coveredURIs namespaces

A QNameSet can cover all namespaces except for a finite number of excluded ones,
additionally including a finite set of QNames within the excluded namespaces,
and with the exception of a finite set of QNames outside the excluded namespaces:

excludedQNamesInIncludedURIs == the set of excluded QNames outside uncoveredURIs namespaces

excludedURIs == the set of uncovered namespace URIs

includedURIs == null

includedQNamesInExcludedURIs == set of additional QNames from uncoveredURIs namespaces

Notice that a finite set of QNames is a degenerate case of the first
category outlined above:

forSets(Set excludedURIs,
Set includedURIs,
Set excludedQNamesInIncludedURIs,
Set includedQNamesInExcludedURIs)
Returns a QNameSet based on the given sets of excluded URIs,
included URIs, excluded QNames in included namespaces, and included
QNames in excluded namespaces.

forWildcardNamespaceString

Returns a QNameSet corresponding to the given wildcard namespace string.
This is a space-separated list of URIs, plus special tokens as specified
in the XML Schema specification (##any, ##other, ##targetNamespace, ##local).