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

Quick Search    Search Deep

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

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

public class XDataField
extends XMLData

XDataField contains <field> tag from jabber:x:data.


Field Summary
private  java.lang.String desc
           
private  java.lang.String label
          Attributes.
private  java.util.Vector optionList
          Vector of option tags contained.
private  boolean required
           
private  java.lang.String type
           
private  java.util.Vector valueList
          Vector of values fields contained.
private  java.lang.String var
           
 
Constructor Summary
XDataField(XDataFieldBuilder builder)
          Creates a new XDataField instance, based on the builder state.
 
Method Summary
 void appendItem(java.lang.StringBuffer retval)
          appendItem converts this packet to XML.
 java.lang.String getDesc()
           
 java.lang.String getLabel()
           
 boolean getRequired()
           
 java.lang.String getType()
           
 java.lang.String getVar()
           
 java.util.Enumeration options()
          getOptions returns the enumeration representing the option objects associated with this object.
 java.util.Enumeration values()
          getOptions returns the enumeration representing the value objects associated with this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

valueList

private java.util.Vector valueList
Vector of values fields contained.


optionList

private java.util.Vector optionList
Vector of option tags contained.


label

private java.lang.String label
Attributes.


type

private java.lang.String type

var

private java.lang.String var

desc

private java.lang.String desc

required

private boolean required
Constructor Detail

XDataField

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

Method Detail

getLabel

public java.lang.String getLabel()

getType

public java.lang.String getType()

getVar

public java.lang.String getVar()

getDesc

public java.lang.String getDesc()

getRequired

public boolean getRequired()

options

public java.util.Enumeration options()
getOptions returns the enumeration representing the option objects associated with this object.


values

public java.util.Enumeration values()
getOptions returns the enumeration representing the value objects associated with this object.


appendItem

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