edu.ou.kmi.buddyspace.plugins.conference.xml
Class IQConfBuilder

java.lang.Object
  |
  +--edu.ou.kmi.buddyspace.plugins.conference.xml.IQConfBuilder

public class IQConfBuilder
extends java.lang.Object

IQConfBuilder is the class used for building an IQConf.


Constructor Summary
IQConfBuilder()
          Creates a new IQConfBuilder instance.
 
Method Summary
 void addNick(java.lang.String nick)
          addNick adds a nick into nicks attribute
 Extension build()
          build generates a new extension object based on the information stored in this class.
 java.lang.String getID()
          getID returns the value of the id attribute
 java.util.Vector getNicks()
          getNicks returns the value of the nicks attribute
 java.lang.String getPassword()
          getPassword returns the value of the password attribute
 boolean getPrivacy()
          getPrivacy returns the value of the privacy attribute
 java.lang.String getRoomName()
          getRoomName returns the value of the room name attribute
 void removeNick(java.lang.String nick)
          removeNick removes a nick into nicks attribute
 void reset()
          reset restores the variables to their default state, so that this builder may be reused.
 void setID(java.lang.String id)
          setID sets the value of the id attribute
 void setPassword(java.lang.String password)
          setPassword sets the value of the password attribute
 void setPrivacy(boolean privacy)
          setPrivacy sets the value of the privacy attribute
 void setRoomName(java.lang.String roomName)
          setRoomName sets the value of the room name attribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IQConfBuilder

public IQConfBuilder()
Creates a new IQConfBuilder instance.

Method Detail

reset

public void reset()
reset restores the variables to their default state, so that this builder may be reused.


getPassword

public java.lang.String getPassword()
getPassword returns the value of the password attribute


getPrivacy

public boolean getPrivacy()
getPrivacy returns the value of the privacy attribute


getRoomName

public java.lang.String getRoomName()
getRoomName returns the value of the room name attribute


getNicks

public java.util.Vector getNicks()
getNicks returns the value of the nicks attribute


getID

public java.lang.String getID()
getID returns the value of the id attribute


setPassword

public void setPassword(java.lang.String password)
setPassword sets the value of the password attribute


setPrivacy

public void setPrivacy(boolean privacy)
setPrivacy sets the value of the privacy attribute


setRoomName

public void setRoomName(java.lang.String roomName)
setRoomName sets the value of the room name attribute


addNick

public void addNick(java.lang.String nick)
addNick adds a nick into nicks attribute


removeNick

public void removeNick(java.lang.String nick)
removeNick removes a nick into nicks attribute


setID

public void setID(java.lang.String id)
setID sets the value of the id attribute


build

public Extension build()
                throws java.lang.InstantiationException
build generates a new extension object based on the information stored in this class.

Returns:
an Extension value
Throws:
java.lang.InstantiationException - if insufficient or malformed information was provided