Package org.apache.xmlbeans.impl.config
Class NameSetBuilder
- java.lang.Object
-
- org.apache.xmlbeans.impl.config.NameSetBuilder
-
public class NameSetBuilder extends java.lang.Object
Used to buildNameSets
.
-
-
Constructor Summary
Constructors Constructor Description NameSetBuilder()
Creates an empty builder for a NameSet.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.lang.String name)
Adds a name to the representing NameSetvoid
invert()
Inverts the representing NameSetNameSet
toNameSet()
Creates a new NameSet with the current state.
-
-
-
Method Detail
-
invert
public void invert()
Inverts the representing NameSet
-
add
public void add(java.lang.String name)
Adds a name to the representing NameSet- Parameters:
name
-
-
toNameSet
public NameSet toNameSet()
Creates a new NameSet with the current state.- Returns:
- created NameSet
-
-