java.lang.Object
XMLData
edu.ou.kmi.buddyspace.xml.XData
- public class XData
- extends XMLData
XData
contains <x xmlns='jabber:x:data'> tag.
Constructor Summary |
XData(XDataBuilder builder)
Creates a new XData instance, based on the builder
state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fields
private java.util.Vector fields
- Vector of 'Field' objects contained
items
private java.util.Vector items
- Vector of 'Items'/'Reported' objects contained
type
private java.lang.String type
title
private java.lang.String title
instructions
private java.lang.String instructions
XData
public XData(XDataBuilder builder)
throws java.lang.InstantiationException
- Creates a new
XData
instance, based on the builder
state.
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
getTitle
public java.lang.String getTitle()
getInstructions
public java.lang.String getInstructions()
fields
public java.util.Enumeration fields()
- returns an enumeration of
fields
contained within this
object.
items
public java.util.Enumeration items()
- returns an enumeration of
items
contained within this
object.
appendItem
public void appendItem(java.lang.StringBuffer retval)
appendItem
converts this packet to XML.
It then appends it to a StringBuffer.