org.jabber.jabberbeans.Extension
Class IQAgents
java.lang.Object
|
+--org.jabber.jabberbeans.XMLData
|
+--org.jabber.jabberbeans.Extension.IQAgents
- All Implemented Interfaces:
- Extension, QueryExtension, java.io.Serializable
- public class IQAgents
- extends XMLData
- implements QueryExtension
IQAgents
contains the jabber:iq:agents extension, which is a
list of (sub) agents known by the server or directed party.
- See Also:
- Serialized Form
Method Summary |
java.util.Enumeration |
agents()
returns an enumeration of agents contained within this
object. |
void |
appendItem(java.lang.StringBuffer retval)
appendItem converts this packet to XML, either an
<agent> block in a jabber:iq:agents extension, or its own
jabber:iq:agent extension. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IQAgents
public IQAgents(IQAgentsBuilder builder)
throws java.lang.InstantiationException
- Creates a new
IQAgents
instance, based on the builder
state.
- Parameters:
builder
- an IQAgentsBuilder
value
- Throws:
java.lang.InstantiationException
- if malformed or insufficient data is
in the builder.
agents
public java.util.Enumeration agents()
- returns an enumeration of
agents
contained within this
object.
- Returns:
- an
Enumeration
value
appendItem
public void appendItem(java.lang.StringBuffer retval)
appendItem
converts this packet to XML, either an
<agent> block in a jabber:iq:agents extension, or its own
jabber:iq:agent extension. It then appends it to a StringBuffer.
- Specified by:
appendItem
in interface Extension
- Specified by:
appendItem
in class XMLData
- Parameters:
retval
- The StringBuffer
to append to