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

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

public class LayerTag
extends XMLData

LayerTag contains <layer> tag.

See Also:
Serialized Form

Constructor Summary
LayerTag(LayerTagBuilder builder)
          Creates a new LayerTag instance, based on the builder state.
 
Method Summary
 void addCluster(ClusterTag cluster)
           
 void addItem(ItemTag item)
           
 void appendItem(java.lang.StringBuffer retval)
          appendItem converts this packet to XML.
 java.lang.String getID()
           
 ImgTag getImg()
           
 java.util.Enumeration getItems()
           
 java.lang.String getOffsetX()
           
 int getOffsetXInt()
           
 java.lang.String getOffsetY()
           
 int getOffsetYInt()
           
 java.lang.String getPriority()
           
 int getPriorityInt()
           
 java.lang.String getScale()
           
 float getScaleFloat()
           
 java.lang.String getSrc()
           
 MapTag getSrcMap()
          not included in XML - only used to link maps together
 java.util.Enumeration itemsAndClusters()
          returns an enumeration of items and clusters contained within this object.
 void removeCluster(ClusterTag cluster)
           
 void removeItem(ItemTag item)
           
 void setImg(ImgTag imgTag)
           
 void setOffsetX(java.lang.String newOffsetX)
           
 void setOffsetY(java.lang.String newOffsetY)
           
 void setPriority(java.lang.String newPriority)
           
 void setScale(java.lang.String newScale)
           
 void setSrcMap(MapTag newSrcMap)
          not included in XML - only used to link maps together
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayerTag

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

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

itemsAndClusters

public java.util.Enumeration itemsAndClusters()
returns an enumeration of items and clusters contained within this object.

Returns:
an Enumeration value

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

getID

public java.lang.String getID()

setOffsetX

public void setOffsetX(java.lang.String newOffsetX)

getOffsetX

public java.lang.String getOffsetX()

setOffsetY

public void setOffsetY(java.lang.String newOffsetY)

getOffsetY

public java.lang.String getOffsetY()

setScale

public void setScale(java.lang.String newScale)

getScale

public java.lang.String getScale()

setPriority

public void setPriority(java.lang.String newPriority)

getPriority

public java.lang.String getPriority()

getSrc

public java.lang.String getSrc()

getImg

public ImgTag getImg()

setImg

public void setImg(ImgTag imgTag)

getItems

public java.util.Enumeration getItems()

addItem

public void addItem(ItemTag item)

removeItem

public void removeItem(ItemTag item)

addCluster

public void addCluster(ClusterTag cluster)

removeCluster

public void removeCluster(ClusterTag cluster)

getSrcMap

public MapTag getSrcMap()
not included in XML - only used to link maps together


setSrcMap

public void setSrcMap(MapTag newSrcMap)
not included in XML - only used to link maps together


getOffsetXInt

public int getOffsetXInt()

getOffsetYInt

public int getOffsetYInt()

getScaleFloat

public float getScaleFloat()

getPriorityInt

public int getPriorityInt()