edu.ou.kmi.buddyspace.xml
Class XDataItem

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

public class XDataItem
extends XMLData

XDataItem contains item tag from <x xmlns='jabber:x:data'> form.

See Also:
Serialized Form

Constructor Summary
XDataItem(XDataItemBuilder builder)
          Creates a new XDataItem instance, based on the builder state.
 
Method Summary
 void appendItem(java.lang.StringBuffer retval)
          appendItem converts this packet to XML.
 java.util.Enumeration fields()
          returns an enumeration of fields contained within this object.
 boolean isReported()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XDataItem

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

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

isReported

public boolean isReported()

fields

public java.util.Enumeration fields()
returns an enumeration of fields contained within this object.

Returns:
an Enumeration 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