edu.ou.kmi.buddyspace.plugins.maps.xml
Class MapTag

java.lang.Object
  |
  +--XMLData
        |
        +--edu.ou.kmi.buddyspace.plugins.maps.xml.MapTag

public class MapTag
extends XMLData

MapTag contains <map> tag.

See Also:
Serialized Form

Constructor Summary
MapTag(MapTagBuilder builder)
          Creates a new MapTag instance, based on the builder state.
 
Method Summary
 void addLayer(LayerTag newLayer)
           
 void appendItem(java.lang.StringBuffer retval)
          appendItem converts this packet to XML.
 void deleteLayer(LayerTag layer)
           
 java.lang.String getID()
           
 java.util.Enumeration layers()
          returns an enumeration of layers contained within this object.
 void setID(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapTag

public MapTag(MapTagBuilder builder)
       throws java.lang.InstantiationException
Creates a new MapTag instance, based on the builder state.

Parameters:
builder - an MapTagBuilder value
Throws:
java.lang.InstantiationException - if malformed or insufficient data is in the builder.
Method Detail

getID

public java.lang.String getID()

setID

public void setID(java.lang.String id)

layers

public java.util.Enumeration layers()
returns an enumeration of layers contained within this object.

Returns:
an Enumeration value

addLayer

public void addLayer(LayerTag newLayer)

deleteLayer

public void deleteLayer(LayerTag layer)

appendItem

public void appendItem(java.lang.StringBuffer retval)
appendItem converts this packet to XML. It then appends it to a StringBuffer.

Parameters:
retval - The StringBuffer to append to