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

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

public class ItemTag
extends XMLData

ItemTag contains <item> tag.

See Also:
Serialized Form

Constructor Summary
ItemTag(ItemTagBuilder builder)
          Creates a new ItemTag instance, based on the builder state.
 
Method Summary
 void appendItem(java.lang.StringBuffer retval)
          appendItem converts this packet to XML.
 JID getJID()
          returns jid attribute.
 java.lang.String getLat()
          returns lat attribute.
 float getLatFloat()
          returns lat attribute in float form.
 java.lang.String getLon()
          returns lon attribute.
 float getLonFloat()
          returns lon attribute in float form.
 void setLat(float lat)
          Sets lat attribute.
 void setLon(float lon)
          Sets lon attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemTag

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

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

getJID

public JID getJID()
returns jid attribute.


getLat

public java.lang.String getLat()
returns lat attribute.


getLon

public java.lang.String getLon()
returns lon attribute.


setLat

public void setLat(float lat)
Sets lat attribute.


setLon

public void setLon(float lon)
Sets lon attribute.


getLatFloat

public float getLatFloat()
returns lat attribute in float form.


getLonFloat

public float getLonFloat()
returns lon attribute in float form.


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