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

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

public class ClusterTag
extends XMLData

ClusterTag contains <cluster> tag.

See Also:
Serialized Form

Constructor Summary
ClusterTag(ClusterTagBuilder builder)
          Creates a new ClusterTag instance, based on the builder state.
 
Method Summary
 void addItem(ItemTag item)
           
 void appendItem(java.lang.StringBuffer retval)
          appendItem converts this packet to XML.
 java.util.Enumeration getItemsAndClusters()
          Returns items and clusters attribute
 java.lang.String getLat()
          Returns latitude attribute
 float getLatFloat()
          Returns latitude attribute in float format
 java.lang.String getLon()
          Returns longitude attribute
 float getLonFloat()
          Returns longitude attribute in float format
 java.lang.String getName()
          Returns name attribute
 java.lang.String getSize()
          Returns size attribute
 float getSizeFloat()
          Returns size attribute in float format
 java.util.Enumeration itemsAndClusters()
          returns an enumeration of items and clusters contained within this object.
 void setLatFloat(float lat)
          Sets lat attribute.
 void setLonFloat(float lon)
          Sets lon attribute.
 void setName(java.lang.String name)
          Sets name attribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterTag

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

Parameters:
builder - an ClusterTagBuilder 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

getLat

public java.lang.String getLat()
Returns latitude attribute


getLon

public java.lang.String getLon()
Returns longitude attribute


getSize

public java.lang.String getSize()
Returns size attribute


getName

public java.lang.String getName()
Returns name attribute


setName

public void setName(java.lang.String name)
Sets name attribute


setLatFloat

public void setLatFloat(float lat)
Sets lat attribute.


setLonFloat

public void setLonFloat(float lon)
Sets lon attribute.


getItemsAndClusters

public java.util.Enumeration getItemsAndClusters()
Returns items and clusters attribute


addItem

public void addItem(ItemTag item)

getLatFloat

public float getLatFloat()
Returns latitude attribute in float format


getLonFloat

public float getLonFloat()
Returns longitude attribute in float format


getSizeFloat

public float getSizeFloat()
Returns size attribute in float format