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

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

public class ImgTag
extends XMLData

ImgTag contains <img> tag.

See Also:
Serialized Form

Constructor Summary
ImgTag(ImgTagBuilder builder)
          Creates a new ImgTag instance, based on the builder state.
 
Method Summary
 void appendItem(java.lang.StringBuffer retval)
          appendItem converts this packet to XML.
 java.lang.String getHeight()
          returns height attribute
 int getHeightInt()
          returns height attribute in int format
 java.lang.String getSrc()
          returns src attribute
 java.lang.String getWidth()
          returns width attribute
 int getWidthInt()
          returns width attribute in int format
 void setHeight(java.lang.String height)
          Sets height attribute
 void setSrc(java.lang.String src)
          Sets src attribute
 void setWidth(java.lang.String width)
          Sets width attribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImgTag

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

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

getSrc

public java.lang.String getSrc()
returns src attribute


setSrc

public void setSrc(java.lang.String src)
Sets src attribute


getWidth

public java.lang.String getWidth()
returns width attribute


setWidth

public void setWidth(java.lang.String width)
Sets width attribute


getWidthInt

public int getWidthInt()
returns width attribute in int format


getHeight

public java.lang.String getHeight()
returns height attribute


setHeight

public void setHeight(java.lang.String height)
Sets height attribute


getHeightInt

public int getHeightInt()
returns height attribute in int format


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