org.jabber.jabberbeans.Extension
Class IQRegister

java.lang.Object
  |
  +--org.jabber.jabberbeans.XMLData
        |
        +--org.jabber.jabberbeans.Extension.HashExtension
              |
              +--org.jabber.jabberbeans.Extension.IQRegister
All Implemented Interfaces:
Extension, QueryExtension, java.io.Serializable
Direct Known Subclasses:
IQRegisterExtension

public class IQRegister
extends HashExtension
implements QueryExtension

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jabber.jabberbeans.Extension.HashExtension
entries
 
Constructor Summary
IQRegister(IQRegisterBuilder builder)
          Creates a new IQRegister instance.
 
Method Summary
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 org.jabber.jabberbeans.Extension.HashExtension
appendItem, getNames, getValue
 
Methods inherited from class org.jabber.jabberbeans.XMLData
appendAttrib, appendAttrib, appendChild, appendChild, escapeString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jabber.jabberbeans.Extension.Extension
appendItem, toString
 

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.

Specified by:
getXMLNS in class HashExtension
Returns:
String holding the XML namespace