Package org.apache.xmlbeans.impl.config
Class NameSet
java.lang.Object
org.apache.xmlbeans.impl.config.NameSet
public class NameSet extends Object
Represents a non finite set of names.
- See Also:
NameSetBuilder
-
Field Summary
Fields Modifier and Type Field Description static NameSet
EMPTY
An empty NameSet, it doesn't contain any namestatic NameSet
EVERYTHING
The NameSet that contains any name -
Method Summary
Modifier and Type Method Description boolean
contains(String name)
NameSet
intersect(NameSet with)
Returns the intersection of this NameSet with the 'with' NameSetNameSet
invert()
Returns an inversion of this NameSetNameSet
substract(NameSet what)
Returns the result of substracting 'what' NameSet from this NameSetNameSet
substractFrom(NameSet from)
Returns the result of substracting this NameSet from 'from' NameSetNameSet
union(NameSet with)
Returns the union of this NameSet with the 'with' NameSet.
-
Field Details
-
EMPTY
An empty NameSet, it doesn't contain any name -
EVERYTHING
The NameSet that contains any name
-
-
Method Details
-
union
Returns the union of this NameSet with the 'with' NameSet. -
intersect
Returns the intersection of this NameSet with the 'with' NameSet -
substractFrom
Returns the result of substracting this NameSet from 'from' NameSet -
substract
Returns the result of substracting 'what' NameSet from this NameSet -
invert
Returns an inversion of this NameSet -
contains
-