public class AgentInfo extends IQ
| Modifier and Type | Class and Description |
|---|---|
static class |
AgentInfo.Provider
An IQProvider for AgentInfo packets.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELEMENT_NAME
Element name of the packet extension.
|
static java.lang.String |
NAMESPACE
Namespace of the packet extension.
|
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE| Constructor and Description |
|---|
AgentInfo() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one.
|
java.lang.String |
getJid()
Returns the Agent's jid.
|
java.lang.String |
getName()
Returns the Agent's name.
|
void |
setJid(java.lang.String jid)
Sets the Agent's jid.
|
void |
setName(java.lang.String name)
Sets the Agent's name.
|
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 static final java.lang.String ELEMENT_NAME
public static final java.lang.String NAMESPACE
public java.lang.String getJid()
public void setJid(java.lang.String jid)
jid - the jid of the agent.public java.lang.String getName()
public void setName(java.lang.String name)
name - the new name of the agent.public java.lang.String getChildElementXML()
IQExtensions of this class must override this method.
getChildElementXML in class IQ