|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jabber.jabberbeans.Extension.IQAgentsBuilder
IQAgentsBuilder
is used to construct IQAgents objects
Agent
,
IQAgents
Constructor Summary | |
IQAgentsBuilder()
Creates a new IQAgentsBuilder instance. |
Method Summary | |
void |
addAgent(Agent agent)
addAgent adds a new agent object to the end of this
list. |
Extension |
build()
build a new IQAgents object |
void |
delAgent(Agent agent)
delAgent removes an agent from this list, if it is present |
java.util.Vector |
getAgents()
getAgents returns the vector representing the agent
objects associated with this object. |
void |
reset()
reset the builder to a default state, so it can be reused. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IQAgentsBuilder()
IQAgentsBuilder
instance.
Method Detail |
public void reset()
reset
the builder to a default state, so it can be reused.
reset
in interface ExtensionBuilder
public void addAgent(Agent agent)
addAgent
adds a new agent object to the end of this
list.
agent
- an Agent
valuepublic void delAgent(Agent agent)
delAgent
removes an agent from this list, if it is present
agent
- an Agent
valuepublic java.util.Vector getAgents()
getAgents
returns the vector representing the agent
objects associated with this object.
Vector
valuepublic Extension build() throws java.lang.InstantiationException
build
a new IQAgents object
build
in interface ExtensionBuilder
Extension
value
java.lang.InstantiationException
- if insufficient or incorrect data
was proviced.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |