java.lang.Object
HashExtensionBuilder
edu.ou.kmi.buddyspace.xml.IQRegisterBuilder
- public class IQRegisterBuilder
- extends HashExtensionBuilder
An IQRegisterBuilder
is used to generate an
IQRegister Extension, which is used in registering for jabber in general,
or specific transports.
NOTE: it is my personal hope that this extension dies a horrible death at
a later date, probably at the hand of XML forms.
all parameters are subject to interpretation - the names are meant to be
labels to editable text boxes, with instructions being broadcast on how to
use the interface.
also note that the values do not have default states - is
represented by name.equals(""), whereas name=null indicates the element
is not present
- Version:
- $Revision: 1.2 $, $Revision: 1.2 $
Constructor Summary |
IQRegisterBuilder()
Construct a new IQRegisterExtensionBuilder object |
Method Summary |
void |
addExtension(Extension extension)
addExtension adds a new child tag object to the end of this
list. |
Extension |
build()
Construct an IQRegsiterExtension Extension object |
java.util.Vector |
extensions()
extensions returns the vector representing the extensions
objects associated with this object. |
void |
reset()
reset clears all data values (sets to null), so that the
builder may be reused. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
extensions
private java.util.Vector extensions
- Vector of extension objects contained.
IQRegisterBuilder
public IQRegisterBuilder()
- Construct a new IQRegisterExtensionBuilder object
reset
public void reset()
reset
clears all data values (sets to null), so that the
builder may be reused.
addExtension
public void addExtension(Extension extension)
addExtension
adds a new child tag object to the end of this
list.
extensions
public java.util.Vector extensions()
extensions
returns the vector representing the extensions
objects associated with this object.
build
public Extension build()
throws java.lang.InstantiationException
- Construct an
IQRegsiterExtension Extension
object