public interface QNameSetSpecification
QNameSet
Modifier and Type | Method and Description |
---|---|
boolean |
contains(QName name)
True if the set contains the given QName.
|
boolean |
containsAll(QNameSetSpecification set)
True if the parameter is a subset of this set.
|
Set<QName> |
excludedQNamesInIncludedURIs()
The finite set of QNames that are excluded from the set within namespaces
that are otherwise included.
|
Set<String> |
excludedURIs()
The finite set of namespace URIs that are almost completely excluded from
the set (that is, each namespace URI that included in the set with with
a finite number of QName exceptions).
|
Set<QName> |
includedQNamesInExcludedURIs()
The finite set of QNames that are included in the set within namespaces
that are otherwise excluded.
|
Set<String> |
includedURIs()
The finite set of namespace URIs that are almost completely included in
the set (that is, each namespace URI that included in the set with with
a finite number of QName exceptions).
|
QNameSet |
intersect(QNameSetSpecification set)
Returns the intersection with another QNameSet.
|
QNameSet |
inverse()
Return the inverse of this QNameSet.
|
boolean |
isAll()
True if the set is the set of all QNames.
|
boolean |
isDisjoint(QNameSetSpecification set)
True if is disjoint from the specified set.
|
boolean |
isEmpty()
True if the set is empty.
|
QNameSet |
union(QNameSetSpecification set)
Returns the union with another QNameSet.
|
boolean contains(QName name)
Roughly equivalent to: (includedURIs() == null ? excludedURIs().contains(namespace) : includedURIs().contains(namespace) ) ? !excludedQNamesInIncludedURIs().contains(name) : includedQNamesInExcludedURIs().contains(name)
boolean isAll()
boolean isEmpty()
boolean containsAll(QNameSetSpecification set)
boolean isDisjoint(QNameSetSpecification set)
QNameSet intersect(QNameSetSpecification set)
QNameSet union(QNameSetSpecification set)
QNameSet inverse()
Set<String> excludedURIs()
Null (meaning almost all URIs excluded) if includedURIs() is non-null; non-null otherwise.
The same set as inverse().includedURIs().
Set<String> includedURIs()
Null (meaning almost all URIs included) if excludedURIs() is non-null; non-null otherwise.
The same as inverse.excludedURIs().
Set<QName> excludedQNamesInIncludedURIs()
Never null.
The same set as inverse().includedQNames().
Set<QName> includedQNamesInExcludedURIs()
Never null.
The same as inverse().excludedQNames().