|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.ou.kmi.buddyspace.xml.XDataFieldBuilder
XDataFieldBuilder
is used to construct XDataField objects
Constructor Summary | |
XDataFieldBuilder()
Creates a new XDataFieldBuilder instance. |
Method Summary | |
void |
addChild(XMLData child)
addChild adds a new child tag object to the end of this
list. |
void |
addValue(java.lang.String newValue)
|
Extension |
build()
build a new MapTag object |
java.lang.String |
getDesc()
|
java.lang.String |
getLabel()
|
java.util.Vector |
getOptions()
getOptions returns the vector representing the option
objects associated with this object. |
boolean |
getRequired()
|
java.lang.String |
getType()
|
java.util.Vector |
getValues()
getOptions returns the vector representing the value
objects associated with this object. |
java.lang.String |
getVar()
|
void |
reset()
reset the builder to a default state, so it can be reused. |
void |
setDesc(java.lang.String newDesc)
|
void |
setLabel(java.lang.String newLabel)
|
void |
setRequired(boolean newRequired)
|
void |
setType(java.lang.String newType)
|
void |
setVar(java.lang.String newVar)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XDataFieldBuilder()
XDataFieldBuilder
instance.
Method Detail |
public void reset()
reset
the builder to a default state, so it can be reused.
public void setLabel(java.lang.String newLabel)
public java.lang.String getLabel()
public void setType(java.lang.String newType)
public java.lang.String getType()
public void setVar(java.lang.String newVar)
public java.lang.String getVar()
public void setDesc(java.lang.String newDesc)
public java.lang.String getDesc()
public void setRequired(boolean newRequired)
public boolean getRequired()
public void addValue(java.lang.String newValue)
public void addChild(XMLData child)
addChild
adds a new child tag object to the end of this
list.
public java.util.Vector getOptions()
getOptions
returns the vector representing the option
objects associated with this object.
Vector
valuepublic java.util.Vector getValues()
getOptions
returns the vector representing the value
objects associated with this object.
Vector
valuepublic Extension build() throws java.lang.InstantiationException
build
a new MapTag object
Extension
value
java.lang.InstantiationException
- if insufficient or incorrect data
was proviced.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |