|
||||||||||
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.MapTagBuilder
MapTagBuilder
is used to construct MapTag objects
Constructor Summary | |
MapTagBuilder()
Creates a new MapTagBuilder instance. |
Method Summary | |
void |
addLayer(LayerTag layer)
addLayer adds a new layer object to the end of this
list. |
Extension |
build()
build a new MapTag object |
void |
delLayer(LayerTag layer)
delLayer removes an layer from this list, if it is present |
java.lang.String |
getID()
|
java.util.Vector |
getLayers()
getLayers returns the vector representing the layer
objects associated with this object. |
void |
reset()
reset the builder to a default state, so it can be reused. |
void |
setID(java.lang.String newID)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MapTagBuilder()
MapTagBuilder
instance.
Method Detail |
public void reset()
reset
the builder to a default state, so it can be reused.
public void setID(java.lang.String newID)
public java.lang.String getID()
public void addLayer(LayerTag layer)
addLayer
adds a new layer object to the end of this
list.
layer
- an LayerTag
valuepublic void delLayer(LayerTag layer)
delLayer
removes an layer from this list, if it is present
layer
- an LayerTag
valuepublic java.util.Vector getLayers()
getLayers
returns the vector representing the layer
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 |