public class Registration extends IQ
ID_NOT_AVAILABLE
Constructor and Description |
---|
Registration() |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getAttributes()
Returns the map of String key/value pairs of account attributes.
|
java.lang.String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one.
|
java.lang.String |
getInstructions()
Returns the registration instructions, or null if no instructions
have been set.
|
java.lang.String |
getPassword()
Returns the password, or null if no password has been set.
|
java.lang.String |
getUsername()
Returns the username, or null if no username has ben set.
|
void |
setAttributes(java.util.Map attributes)
Sets the account attributes.
|
void |
setInstructions(java.lang.String instructions)
Sets the registration instructions.
|
void |
setPassword(java.lang.String password)
Sets the password.
|
void |
setUsername(java.lang.String username)
Sets the username.
|
addExtension, deleteProperty, getError, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, removeExtension, setError, setFrom, setPacketID, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setTo
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- the username.public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- the password.public java.lang.String getInstructions()
public void setInstructions(java.lang.String instructions)
instructions
- the registration instructions.public java.util.Map getAttributes()
public void setAttributes(java.util.Map attributes)
attributes
- the account attributes.public java.lang.String getChildElementXML()
IQ
Extensions of this class must override this method.
getChildElementXML
in class IQ
Copyright © 2003 Jive Software.