|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jabber.jabberbeans.Extension.OOBBuilder
A OOBBuilder
is used to generate an OOB packet (either
jabber:x:oob or jabber:iq:oob)
Constructor Summary | |
OOBBuilder()
construct a new OOBBuilder object. |
Method Summary | |
Extension |
build()
build an OOB Extension based on the current builder
state. |
java.lang.String |
getDescription()
get a description of what this OOB represents |
java.lang.String |
getURL()
get the URL which this OOB is pointing to |
boolean |
isIQ()
return whether this is a jabber:iq:oob or a jabber:x:oob extension |
void |
reset()
reset to a default state, so the object can be reused |
void |
setDescription(java.lang.String value)
set a description of what this OOB represents |
void |
setIQ(boolean value)
set whether this is a jabber:iq:oob or a jabber:x:oob extension |
void |
setURL(java.lang.String value)
set the URL which this OOB is pointing to |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OOBBuilder()
OOBBuilder
object.
Method Detail |
public void reset()
reset
in interface ExtensionBuilder
public boolean isIQ()
True
for a jabber:iq:oob extension,
False
for a jabber:x:oob extensionpublic void setIQ(boolean value)
value
- True
for a jabber:iq:oob extension,
False
for a jabber:x:oob extensionpublic java.lang.String getURL()
String
holding the URLpublic void setURL(java.lang.String value)
value
- String
holding the URLpublic java.lang.String getDescription()
String
holding a description of the URL.public void setDescription(java.lang.String value)
value
- String
holding a description of the URL.public Extension build()
OOB Extension
based on the current builder
state.
build
in interface ExtensionBuilder
OOB Extension
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |