edu.ou.kmi.buddyspace.xml
Class XEvent

java.lang.Object
  |
  +--XMLData
        |
        +--edu.ou.kmi.buddyspace.xml.XEvent

public class XEvent
extends XMLData

XEvent contains <x xmlns='jabber:x:event'> tag.

See Also:
Serialized Form

Constructor Summary
XEvent(XEventBuilder builder)
          Creates a new XEvent instance, based on the builder state.
 
Method Summary
 void appendItem(java.lang.StringBuffer retval)
          appendItem converts this packet to XML.
 java.lang.String getID()
          returns the id in the object.
 boolean isComposing()
          returns if the composing flag is present.
 boolean isDelivered()
          returns if the delivered flag is present.
 boolean isDisplayed()
          returns if the displayed flag is present.
 boolean isOffline()
          returns if the offline flag is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XEvent

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

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

isOffline

public boolean isOffline()
returns if the offline flag is present.


isDelivered

public boolean isDelivered()
returns if the delivered flag is present.


isDisplayed

public boolean isDisplayed()
returns if the displayed flag is present.


isComposing

public boolean isComposing()
returns if the composing flag is present.


getID

public java.lang.String getID()
returns the id in the object.


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