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

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

public class IQDiscoItemsBuilder
extends java.lang.Object

IQDiscoItemsBuilder is used to construct IQDiscoItems objects


Constructor Summary
IQDiscoItemsBuilder()
          Creates a new IQDiscoItemsBuilder instance.
 
Method Summary
 void addItem(DiscoItem item)
          addItem adds a new item object to the end of this list.
 Extension build()
          build a new IQDiscoItems object
 java.util.Vector getItems()
          getItems returns the vector representing the item/reported 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

IQDiscoItemsBuilder

public IQDiscoItemsBuilder()
Creates a new IQDiscoItemsBuilder 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()

addItem

public void addItem(DiscoItem item)
addItem adds a new item object to the end of this list.

Parameters:
item - an DiscoItem value

getItems

public java.util.Vector getItems()
getItems returns the vector representing the item/reported objects associated with this object.

Returns:
a Vector value

build

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

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