public class Registration extends IQ
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE
Constructor and Description |
---|
Registration() |
Modifier and Type | Method and Description |
---|---|
Map<String,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.
|
String |
getInstructions()
Returns the registration instructions, or null if no instructions
have been set.
|
void |
setAttributes(Map<String,String> attributes)
Sets the account attributes.
|
void |
setInstructions(String instructions)
Sets the registration instructions.
|
createErrorResponse, createResultIQ, getType, setType, toXML
addCommonAttributes, addExtension, addExtensions, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setTo, toString
public Registration()
public String getInstructions()
public void setInstructions(String instructions)
instructions
- the registration instructions.public Map<String,String> getAttributes()
public void setAttributes(Map<String,String> attributes)
attributes
- the account attributes.public XmlStringBuilder getChildElementXML()
IQ
Extensions of this class must override this method.
getChildElementXML
in class IQ