org.jabber.jabberbeans.Extension
Class BrowseItemBuilder

java.lang.Object
  |
  +--org.jabber.jabberbeans.Extension.BrowseItemBuilder
All Implemented Interfaces:
ExtensionBuilder
Direct Known Subclasses:
IQBrowseBuilder

public class BrowseItemBuilder
extends java.lang.Object
implements ExtensionBuilder


Constructor Summary
BrowseItemBuilder()
           
 
Method Summary
 void addChild(BrowseItem object)
           
 void addNameSpace(java.lang.String str)
           
 Extension build()
          build generates an Extension-derived object based on the current state of this ExtensionBuilder
 java.util.Enumeration children()
           
 java.lang.String getCategory()
          return the subtype 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)
 boolean isIQ()
           
 java.util.Enumeration namespaces()
           
 void reset()
          reset this builder to a default state, for reuse
 void setCategory(java.lang.String val)
          set the subtype of this item (represented by the type attribute)
 void setIQ(boolean value)
           
 void setJID(JID val)
          set the address this item refers to
 void setName(java.lang.String val)
          set a textual string for displaying this item
 void setType(java.lang.String val)
          set the type of this item (represented by the element name)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowseItemBuilder

public BrowseItemBuilder()
Method Detail

reset

public void reset()
reset this builder to a default state, for reuse

Specified by:
reset in interface ExtensionBuilder

isIQ

public boolean isIQ()

setIQ

public void setIQ(boolean value)

getCategory

public java.lang.String getCategory()
return the subtype of this item (represented by the type attribute)


setCategory

public void setCategory(java.lang.String val)
set the subtype of this item (represented by the type attribute)


getType

public java.lang.String getType()
return the type of this item (represented by the element name)


setType

public void setType(java.lang.String val)
set the type of this item (represented by the element name)


getName

public java.lang.String getName()
return a textual string for displaying this item


setName

public void setName(java.lang.String val)
set a textual string for displaying this item


getJID

public JID getJID()
return the address this item refers to


setJID

public void setJID(JID val)
set the address this item refers to


addNameSpace

public void addNameSpace(java.lang.String str)

getNameSpaces

public java.util.Vector getNameSpaces()

namespaces

public java.util.Enumeration namespaces()

addChild

public void addChild(BrowseItem object)

getChildren

public java.util.Vector getChildren()

children

public java.util.Enumeration children()

build

public Extension build()
                throws java.lang.InstantiationException
Description copied from interface: ExtensionBuilder
build generates an Extension-derived object based on the current state of this ExtensionBuilder

Specified by:
build in interface ExtensionBuilder
Returns:
an Extension object
Throws:
java.lang.InstantiationException - if insufficient or malformed data is present