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

Quick Search    Search Deep

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

java.lang.Object
  extended byedu.ou.kmi.buddyspace.xml.XDataItemBuilder

public class XDataItemBuilder
extends java.lang.Object

XDataItemBuilder is used to construct XDataItem objects


Field Summary
private  java.util.Vector fields
          Vector of field objects contained.
private  boolean reported
           
 
Constructor Summary
XDataItemBuilder()
          Creates a new XDataItemBuilder instance.
 
Method Summary
 void addField(XDataField field)
          addField adds a new field object to the end of this list.
 Extension build()
          build a new XData object
 java.util.Vector getFields()
          getFields returns the vector representing the field objects associated with this object.
 boolean isReported()
           
 void reset()
          reset the builder to a default state, so it can be reused.
 void setReported(boolean reported)
           
 
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.


reported

private boolean reported
Constructor Detail

XDataItemBuilder

public XDataItemBuilder()
Creates a new XDataItemBuilder instance.

Method Detail

reset

public void reset()
reset the builder to a default state, so it can be reused.


setReported

public void setReported(boolean reported)

isReported

public boolean isReported()

addField

public void addField(XDataField field)
addField adds a new field object to the end of this list.


getFields

public java.util.Vector getFields()
getFields returns the vector representing the field objects associated with this object.


build

public Extension build()
                throws java.lang.InstantiationException
build a new XData object