Package org.apache.xmlbeans.impl.config
Class NameSet
- java.lang.Object
-
- org.apache.xmlbeans.impl.config.NameSet
-
public class NameSet extends java.lang.ObjectReprezents a non finite set of names.- See Also:
NameSetBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static NameSetEMPTYAn empty NameSet, it doesn't contain any namestatic NameSetEVERYTHINGThe NameSet that contains any name
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(java.lang.String name)NameSetintersect(NameSet with)Returns the intersection of this NameSet with the 'with' NameSetNameSetinvert()Returns an inversion of this NameSetNameSetsubstract(NameSet what)Returns the result of substracting 'what' NameSet from this NameSetNameSetsubstractFrom(NameSet from)Returns the result of substracting this NameSet from 'from' NameSetNameSetunion(NameSet with)Returns the union of this NameSet with the 'with' NameSet.
-
-
-
Method Detail
-
union
public NameSet union(NameSet with)
Returns the union of this NameSet with the 'with' NameSet.
-
intersect
public NameSet intersect(NameSet with)
Returns the intersection of this NameSet with the 'with' NameSet
-
substractFrom
public NameSet substractFrom(NameSet from)
Returns the result of substracting this NameSet from 'from' NameSet
-
substract
public NameSet substract(NameSet what)
Returns the result of substracting 'what' NameSet from this NameSet
-
invert
public NameSet invert()
Returns an inversion of this NameSet
-
contains
public boolean contains(java.lang.String name)
-
-