|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jabber.jabberbeans.XMLData | +--org.jabber.jabberbeans.Extension.OOB
An OOB
object represents Out-of-band referenced data, and
represents the core data passed via a jabber:x:oob or jabber:iq:oob
namespace extension. Additional functionality (URL verification, user
download facility, mini-HTTP server) is not provided here.
Constructor Summary | |
OOB(OOBBuilder builder)
Construct a new OOB object based on the builder state |
Method Summary | |
void |
appendItem(java.lang.StringBuffer retval)
appendItem appends the XML representation of the
current packet data to the specified StringBuffer . |
java.lang.String |
getDescription()
get a Description of the resource which this OOB represents |
java.lang.String |
getURL()
get the URL to which this OOB is pointing |
boolean |
isIQ()
Determine if this is a jabber:x:oob or jabber:iq:oob extension |
Methods inherited from class org.jabber.jabberbeans.XMLData |
appendAttrib, appendAttrib, appendChild, appendChild, escapeString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jabber.jabberbeans.Extension.Extension |
toString |
Constructor Detail |
public OOB(OOBBuilder builder)
builder
- OOBBuilder
which holds the values which
this object will be created.Method Detail |
public boolean isIQ()
True
if this is a jabber:iq:oob extension,
False
if this is a jabber:x:oob extensionpublic java.lang.String getURL()
String
holding the URL this OOB is based aroundpublic java.lang.String getDescription()
String
holding a description of the URL.public void appendItem(java.lang.StringBuffer retval)
appendItem
appends the XML representation of the
current packet data to the specified StringBuffer
.
appendItem
in interface Extension
appendItem
in class XMLData
retval
- The StringBuffer
to append to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |