|
||||||||||
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.BrowseItem
Constructor Summary | |
BrowseItem(BrowseItemBuilder builder)
Construct a new BrowseItem object, based on the builder
state. |
Method Summary | |
void |
appendItem(java.lang.StringBuffer retval)
appendItem converts this packet to XML
It then appends it to a StringBuffer. |
java.util.Enumeration |
children()
return an enumeration of children as BrowseItems, or null if no children were specified. |
java.lang.String |
getCategory()
return the category of this item (represented by the type attribute) |
java.util.Vector |
getChildren()
|
JID |
getJID()
return the address this item refers to |
java.lang.String |
getName()
return a textual string for displaying this item |
java.util.Vector |
getNamespaces()
|
java.lang.String |
getType()
return the type of this item (represented by the element name) |
protected java.lang.String |
getXMLNS()
getXMLNS is overloaded by derived classes to allow the
toString and appendItem() code to be fixed. |
boolean |
isIQ()
|
java.util.Enumeration |
namespaces()
|
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 BrowseItem(BrowseItemBuilder builder)
BrowseItem
object, based on the builder
state.
builder
- BrowseItemBuilder which holds the state this object
will be based onMethod Detail |
public final boolean isIQ()
public final java.lang.String getCategory()
public final java.lang.String getType()
public final java.lang.String getName()
public final JID getJID()
public java.util.Vector getNamespaces()
public java.util.Vector getChildren()
public final java.util.Enumeration namespaces()
public final java.util.Enumeration children()
protected java.lang.String getXMLNS()
getXMLNS
is overloaded by derived classes to allow the
toString and appendItem() code to be fixed.
public void appendItem(java.lang.StringBuffer retval)
appendItem
converts this packet to XML
It then appends it to a 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 |