Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

edu.ou.kmi.buddyspace.xml
Class XData  view XData download XData.java

java.lang.Object
  extended byXMLData
      extended byedu.ou.kmi.buddyspace.xml.XData

public class XData
extends XMLData

XData contains <x xmlns='jabber:x:data'> tag.


Field Summary
private  java.util.Vector fields
          Vector of 'Field' objects contained
private  java.lang.String instructions
           
private  java.util.Vector items
          Vector of 'Items'/'Reported' objects contained
private  java.lang.String title
           
private  java.lang.String type
           
 
Constructor Summary
XData(XDataBuilder builder)
          Creates a new XData 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.
 java.lang.String getInstructions()
           
 java.lang.String getTitle()
           
 java.lang.String getType()
           
 java.util.Enumeration items()
          returns an enumeration of items contained within this object.
 void setType(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

XData

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

Method Detail

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.