|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smack.packet.Packet
org.jivesoftware.smack.packet.IQ
org.jivesoftware.smackx.workgroup.packet.AgentInfo
public class AgentInfo
IQ packet for retrieving and changing the Agent personal information.
| Nested Class Summary | |
|---|---|
static class |
AgentInfo.Provider
An IQProvider for AgentInfo packets. |
| Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.IQ |
|---|
IQ.Type |
| Field Summary | |
|---|---|
static String |
ELEMENT_NAME
Element name of the packet extension. |
static String |
NAMESPACE
Namespace of the packet extension. |
| Fields inherited from class org.jivesoftware.smack.packet.Packet |
|---|
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE |
| Constructor Summary | |
|---|---|
AgentInfo()
|
|
| Method Summary | |
|---|---|
String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there isn't one. |
String |
getJid()
Returns the Agent's jid. |
String |
getName()
Returns the Agent's name. |
void |
setJid(String jid)
Sets the Agent's jid. |
void |
setName(String name)
Sets the Agent's name. |
| Methods inherited from class org.jivesoftware.smack.packet.IQ |
|---|
createErrorResponse, createResultIQ, getType, setType, toXML |
| Methods inherited from class org.jivesoftware.smack.packet.Packet |
|---|
addExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ELEMENT_NAME
public static final String NAMESPACE
| Constructor Detail |
|---|
public AgentInfo()
| Method Detail |
|---|
public String getJid()
public void setJid(String jid)
jid - the jid of the agent.public String getName()
public void setName(String name)
name - the new name of the agent.public String getChildElementXML()
IQExtensions of this class must override this method.
getChildElementXML in class IQ
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||