Package org.apache.xmlbeans.impl.config
Class NameSetBuilder
- java.lang.Object
-
- org.apache.xmlbeans.impl.config.NameSetBuilder
-
public class NameSetBuilder extends java.lang.ObjectUsed 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 voidadd(java.lang.String name)Adds a name to the representing NameSetvoidinvert()Inverts the representing NameSetNameSettoNameSet()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
-
-