Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

edu.ou.kmi.buddyspace.xml
Class IQRegister  view IQRegister download IQRegister.java

java.lang.Object
  extended byHashExtension
      extended byedu.ou.kmi.buddyspace.xml.IQRegister

public class IQRegister
extends HashExtension

An IQRegister holds the values that would be stored in a jabber:iq:register namespace. This namespace is used to register and deregister accounts with the jabber server and with various 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 $

Field Summary
private  java.util.Vector extensions
          Vector of extension objects contained.
 
Constructor Summary
IQRegister(IQRegisterBuilder builder)
          Creates a new IQRegister instance.
 
Method Summary
 void appendItem(java.lang.StringBuffer retval)
          appendItem appends the XML representation of the current packet data to the specified StringBuffer.
 java.util.Enumeration extensions()
          returns an enumeration of extensions contained within this object.
protected  java.lang.String getXMLNS()
          Used to fetch the internal XMLNS, which is used by AppendItem and toString to return the proper XML representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extensions

private java.util.Vector extensions
Vector of extension objects contained.

Constructor Detail

IQRegister

public IQRegister(IQRegisterBuilder builder)
           throws java.lang.InstantiationException
Creates a new IQRegister instance.

Method Detail

getXMLNS

protected java.lang.String getXMLNS()
Used to fetch the internal XMLNS, which is used by AppendItem and toString to return the proper XML representation.


extensions

public java.util.Enumeration extensions()
returns an enumeration of extensions contained within this object.


appendItem

public void appendItem(java.lang.StringBuffer retval)
appendItem appends the XML representation of the current packet data to the specified StringBuffer.