public class Agent
extends java.lang.Object
represents an agent object. This is here to support the AgentIQMessage. It is very similar to JIDType because it will soon be superseded by the new browsing framework (which uses JIDType). The fields for this object are readonly because this function is usually used to retrieve data sent from the server.
This object is not reusable once instantiated. Consider it immutable.
ServiceInfoIQMessage| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Deprecated.
|
java.util.HashMap |
getFeatureList()
Deprecated.
retrieves a list of features supported by the agent.
|
JID |
getJID()
Deprecated.
|
java.lang.String |
getName()
Deprecated.
|
java.util.List |
getNSList()
Deprecated.
retrieves the list of namespaces that the agent supports.
|
java.lang.String |
getService()
Deprecated.
|
java.lang.String |
getTransport()
Deprecated.
|
void |
parse(Element agentElem)
Deprecated.
parses the incoming message for the data.
|
boolean |
supportsMultiUserChat()
Deprecated.
inclusion of this empty element signals that the service is a multi-user chat service
|
boolean |
supportsRegistration()
Deprecated.
inclusion of this empty element signals that the service supports registration
|
boolean |
supportsSearching()
Deprecated.
inclusion of this empty element signals that the service supports searching
|
public Agent(JID jid)
public JID getJID()
public java.lang.String getDescription()
public boolean supportsMultiUserChat()
public boolean supportsRegistration()
public boolean supportsSearching()
public java.lang.String getName()
public java.lang.String getTransport()
public java.lang.String getService()
public java.util.HashMap getFeatureList()
public java.util.List getNSList()
public void parse(Element agentElem)
throws ParseException
ParseExceptionCopyright © 2001-2005 Echomine. All Rights Reserved.