org.jabber.jabberbeans.Extension
Class IQAgents
java.lang.Object
|
+--org.jabber.jabberbeans.XMLData
|
+--org.jabber.jabberbeans.Extension.IQAgents
- 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.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- David Waite
<dwaite@jabber.com>, $Author: lucky $
- See Also:
- Serialized Form
Field Summary |
private java.util.Vector |
Agents
Vector of 'Agent' objects contained |
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,
registerNatives,
wait,
wait,
wait |
Agents
private java.util.Vector Agents
- Vector of 'Agent' objects contained
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.
- Overrides:
- appendItem in class XMLData
- Parameters:
retval
- The StringBuffer
to append to