public class Registration extends IQ
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE| Constructor and Description |
|---|
Registration() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Returns the map of String key/value pairs of account attributes.
|
XmlStringBuilder |
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.
|
void |
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
Sets the account attributes.
|
void |
setInstructions(java.lang.String instructions)
Sets the registration instructions.
|
createErrorResponse, createResultIQ, getType, setType, toXMLaddCommonAttributes, addExtension, addExtensions, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setTo, toStringpublic java.lang.String getInstructions()
public void setInstructions(java.lang.String instructions)
instructions - the registration instructions.public java.util.Map<java.lang.String,java.lang.String> getAttributes()
public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
attributes - the account attributes.public XmlStringBuilder getChildElementXML()
IQExtensions of this class must override this method.
getChildElementXML in class IQ