org.apache.xmlbeans.impl.config
Class NameSetBuilder

java.lang.Object
  extended by org.apache.xmlbeans.impl.config.NameSetBuilder

public class NameSetBuilder
extends java.lang.Object

Used to build NameSets.


Constructor Summary
NameSetBuilder()
          Creates an empty builder for a NameSet.
 
Method Summary
 void add(java.lang.String name)
          Adds a name to the representing NameSet
 void invert()
          Inverts the representing NameSet
 NameSet toNameSet()
          Creates a new NameSet with the current state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameSetBuilder

public NameSetBuilder()
Creates an empty builder for a NameSet.

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