edu.ou.kmi.buddyspace.plugins.disco.xml
Class IQDiscoInfoBuilder

java.lang.Object
  |
  +--edu.ou.kmi.buddyspace.plugins.disco.xml.IQDiscoInfoBuilder

public class IQDiscoInfoBuilder
extends java.lang.Object

IQDiscoInfoBuilder is used to construct IQDiscoInfo objects


Constructor Summary
IQDiscoInfoBuilder()
          Creates a new IQDiscoInfoBuilder instance.
 
Method Summary
 void addFeature(DiscoFeature feature)
          addFeature adds a new idebtity object to the end of this list.
 void addIdentity(DiscoIdentity identity)
          addIdentity adds a new idebtity object to the end of this list.
 Extension build()
          build a new IQDiscoInfo object
 java.util.Vector getFeatures()
          getFeatures returns the vector representing the feature objects associated with this object.
 java.util.Vector getIdentities()
          getIdentities returns the vector representing the identity objects associated with this object.
 java.lang.String getNode()
           
 void reset()
          reset the builder to a default state, so it can be reused.
 void setNode(java.lang.String newNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IQDiscoInfoBuilder

public IQDiscoInfoBuilder()
Creates a new IQDiscoInfoBuilder instance.

Method Detail

reset

public void reset()
reset the builder to a default state, so it can be reused.


setNode

public void setNode(java.lang.String newNode)

getNode

public java.lang.String getNode()

addIdentity

public void addIdentity(DiscoIdentity identity)
addIdentity adds a new idebtity object to the end of this list.


getIdentities

public java.util.Vector getIdentities()
getIdentities returns the vector representing the identity objects associated with this object.

Returns:
a Vector value

addFeature

public void addFeature(DiscoFeature feature)
addFeature adds a new idebtity object to the end of this list.


getFeatures

public java.util.Vector getFeatures()
getFeatures returns the vector representing the feature objects associated with this object.

Returns:
a Vector value

build

public Extension build()
                throws java.lang.InstantiationException
build a new IQDiscoInfo object

Returns:
an Extension value
Throws:
java.lang.InstantiationException - if insufficient or incorrect data was proviced.