|
|||||||||
Home >> All >> edu >> ou >> kmi >> buddyspace >> [ xml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
edu.ou.kmi.buddyspace.xml
Class XDataFieldBuilder

java.lang.Objectedu.ou.kmi.buddyspace.xml.XDataFieldBuilder
- public class XDataFieldBuilder
- extends java.lang.Object
XDataFieldBuilder
is used to construct XDataField objects
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 | |
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 |
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 |
XDataFieldBuilder
public XDataFieldBuilder()
- Creates a new
XDataFieldBuilder
instance.
Method Detail |
reset
public void reset()
reset
the builder to a default state, so it can be reused.
setLabel
public void setLabel(java.lang.String newLabel)
getLabel
public java.lang.String getLabel()
setType
public void setType(java.lang.String newType)
getType
public java.lang.String getType()
setVar
public void setVar(java.lang.String newVar)
getVar
public java.lang.String getVar()
setDesc
public void setDesc(java.lang.String newDesc)
getDesc
public java.lang.String getDesc()
setRequired
public void setRequired(boolean newRequired)
getRequired
public boolean getRequired()
addValue
public void addValue(java.lang.String newValue)
addChild
public void addChild(XMLData child)
addChild
adds a new child tag object to the end of this list.
getOptions
public java.util.Vector getOptions()
getOptions
returns the vector representing the option objects associated with this object.
getValues
public java.util.Vector getValues()
getOptions
returns the vector representing the value objects associated with this object.
build
public Extension build() throws java.lang.InstantiationException
build
a new MapTag object
|
|||||||||
Home >> All >> edu >> ou >> kmi >> buddyspace >> [ xml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |