edu.ou.kmi.buddyspace.plugins.pubsub.xml
Class XPubsubEvent

java.lang.Object
  |
  +--XMLData
        |
        +--edu.ou.kmi.buddyspace.plugins.pubsub.xml.XPubsubEvent

public class XPubsubEvent
extends XMLData

XPubsubEvent contains <query xmlns='http://jabber.org/protocol/pubsub#event'> tag.

See Also:
Serialized Form

Constructor Summary
XPubsubEvent(XPubsubEventBuilder builder)
          Creates a new XPubsubEvent instance, based on the builder state.
 
Method Summary
 void appendItem(java.lang.StringBuffer retval)
          appendItem converts this packet to XML.
 XMLData child()
          returns the child contained within this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPubsubEvent

public XPubsubEvent(XPubsubEventBuilder builder)
             throws java.lang.InstantiationException
Creates a new XPubsubEvent instance, based on the builder state.

Parameters:
builder - an XPubsubEventBuilder value
Throws:
java.lang.InstantiationException - if malformed or insufficient data is in the builder.
Method Detail

child

public XMLData child()
returns the child contained within this object.

Returns:
an XMLData value

appendItem

public void appendItem(java.lang.StringBuffer retval)
appendItem converts this packet to XML. It then appends it to a StringBuffer.

Parameters:
retval - The StringBuffer to append to