java.lang.Object
edu.ou.kmi.buddyspace.xml.XDataItemBuilder
- public class XDataItemBuilder
- extends java.lang.Object
XDataItemBuilder
is used to construct XDataItem objects
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 |
fields
private java.util.Vector fields
- Vector of field objects contained.
reported
private boolean reported
XDataItemBuilder
public XDataItemBuilder()
- Creates a new
XDataItemBuilder
instance.
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