|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.ou.kmi.buddyspace.plugins.maps.xml.ClusterTagBuilder
ClusterTagBuilder
is used to construct ClusterTag objects
Constructor Summary | |
ClusterTagBuilder()
Creates a new ClusterTagBuilder instance. |
Method Summary | |
void |
addCluster(ClusterTag cluster)
addCluster adds a new cluster object to the end of this
list. |
void |
addItem(ItemTag item)
addItem adds a new item object to the end of this
list. |
Extension |
build()
build a new ClusterTag object |
void |
delCluster(ClusterTag cluster)
delCluster removes a cluster from this list, if it is present |
void |
delItem(ItemTag item)
delItem removes an item from this list, if it is present |
java.util.Vector |
getItemsAndClusters()
getItemsAndClusters returns the vector representing the item
and cluster objects associated with this object. |
java.lang.String |
getLat()
|
java.lang.String |
getLon()
|
java.lang.String |
getName()
|
java.lang.String |
getSize()
|
void |
reset()
reset the builder to a default state, so it can be reused. |
void |
setLat(java.lang.String newLat)
|
void |
setLon(java.lang.String newLon)
|
void |
setName(java.lang.String newName)
|
void |
setSize(java.lang.String newSize)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClusterTagBuilder()
ClusterTagBuilder
instance.
Method Detail |
public void reset()
reset
the builder to a default state, so it can be reused.
public void setLat(java.lang.String newLat)
public java.lang.String getLat()
public void setLon(java.lang.String newLon)
public java.lang.String getLon()
public void setSize(java.lang.String newSize)
public java.lang.String getSize()
public void setName(java.lang.String newName)
public java.lang.String getName()
public void addItem(ItemTag item)
addItem
adds a new item object to the end of this
list.
item
- an ItemTag
valuepublic void delItem(ItemTag item)
delItem
removes an item from this list, if it is present
item
- an ItemTag
valuepublic void addCluster(ClusterTag cluster)
addCluster
adds a new cluster object to the end of this
list.
cluster
- an ClusterTag
valuepublic void delCluster(ClusterTag cluster)
delCluster
removes a cluster from this list, if it is present
cluster
- an ClusterTag
valuepublic java.util.Vector getItemsAndClusters()
getItemsAndClusters
returns the vector representing the item
and cluster objects associated with this object.
Vector
valuepublic Extension build() throws java.lang.InstantiationException
build
a new ClusterTag 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 |