de.laures.cewolf.taglib.html
Class HTMLImgTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by de.laures.cewolf.taglib.tags.CewolfBodyTag
              extended by de.laures.cewolf.taglib.html.AbstractHTMLBaseTag
                  extended by de.laures.cewolf.taglib.html.HTMLImgTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
ChartImgTag, LegendTag

public class HTMLImgTag
extends AbstractHTMLBaseTag

HTML img tag.

Author:
Guido Laures
See Also:
Serialized Form

Field Summary
protected  java.lang.String align
          Holds value of property align.
protected  java.lang.String alt
          Holds value of property alt.
protected  int border
          Holds value of property border.
protected  boolean forceSessionId
          Add or not JSESSIONID
protected  int height
          Holds value of property height.
protected  int hSpace
          Holds value of property hSpace.
protected  java.lang.String ismap
          Holds value of property ismap.
protected  java.lang.String longDesc
          Holds value of property longDesc.
protected  boolean removeAfterRender
          Remove image from Storage after rendering
protected  java.lang.String src
          Holds value of property src.
protected  java.lang.String useMap
          Holds value of property useMap.
protected  int vSpace
          Holds value of property vSpace.
protected  int width
          Holds value of property width.
 
Fields inherited from class de.laures.cewolf.taglib.html.AbstractHTMLBaseTag
clazz, dir, lang, onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, style, title, UNDEFINED_FLOAT, UNDEFINED_INT, UNDEFINED_STR
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
HTMLImgTag()
           
 
Method Summary
protected  java.lang.String getTagName()
           
protected  boolean hasBody()
           
 boolean isForceSessionId()
           
 boolean isRemoveAfterRender()
           
protected  boolean isWellFormed()
           
protected  void reset()
           
 void setAlign(java.lang.String align)
          Setter for property align.
 void setAlt(java.lang.String alt)
          Setter for property alt.
 void setBorder(int border)
          Setter for property border.
 void setForceSessionId(boolean forceSessionId)
           
 void setHeight(int height)
          Setter for property height.
 void setHspace(int hSpace)
          Setter for property hSpace.
 void setIsmap(java.lang.String ismap)
          Setter for property ismap.
 void setLongdesc(java.lang.String longDesc)
          Setter for property longDesc.
 void setRemoveAfterRender(boolean removeAfterRender)
           
 void setSrc(java.lang.String src)
          Setter for property src.
 void setUsemap(java.lang.String useMap)
          Setter for property useMap.
 void setVspace(int vSpace)
          Setter for property vSpace.
 void setWidth(int width)
          Setter for property width.
 void writeAttributes(java.io.Writer wr)
           
 
Methods inherited from class de.laures.cewolf.taglib.html.AbstractHTMLBaseTag
appendAttributeDeclaration, appendAttributeDeclaration, appendAttributeDeclaration, doEndTag, doStartTag, setClass, setDir, setHtmltitle, setLang, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setStyle
 
Methods inherited from class de.laures.cewolf.taglib.tags.CewolfBodyTag
doAfterEndTag
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

width

protected int width
Holds value of property width.


height

protected int height
Holds value of property height.


src

protected java.lang.String src
Holds value of property src.


alt

protected java.lang.String alt
Holds value of property alt.


longDesc

protected java.lang.String longDesc
Holds value of property longDesc.


useMap

protected java.lang.String useMap
Holds value of property useMap.


ismap

protected java.lang.String ismap
Holds value of property ismap.


align

protected java.lang.String align
Holds value of property align.


border

protected int border
Holds value of property border.


hSpace

protected int hSpace
Holds value of property hSpace.


vSpace

protected int vSpace
Holds value of property vSpace.


forceSessionId

protected boolean forceSessionId
Add or not JSESSIONID


removeAfterRender

protected boolean removeAfterRender
Remove image from Storage after rendering

Constructor Detail

HTMLImgTag

public HTMLImgTag()
Method Detail

writeAttributes

public void writeAttributes(java.io.Writer wr)
Overrides:
writeAttributes in class AbstractHTMLBaseTag

reset

protected void reset()
Overrides:
reset in class AbstractHTMLBaseTag

setWidth

public void setWidth(int width)
Setter for property width.

Parameters:
width - New value of property width.

setHeight

public void setHeight(int height)
Setter for property height.

Parameters:
height - New value of property height.

setSrc

public void setSrc(java.lang.String src)
Setter for property src.

Parameters:
src - New value of property src.

setAlt

public void setAlt(java.lang.String alt)
Setter for property alt.

Parameters:
alt - New value of property alt.

setLongdesc

public void setLongdesc(java.lang.String longDesc)
Setter for property longDesc.

Parameters:
longDesc - New value of property longDesc.

setUsemap

public void setUsemap(java.lang.String useMap)
Setter for property useMap.

Parameters:
useMap - New value of property useMap.

setIsmap

public void setIsmap(java.lang.String ismap)
Setter for property ismap.

Parameters:
ismap - New value of property ismap.

setAlign

public void setAlign(java.lang.String align)
Setter for property align.

Parameters:
align - New value of property align.

setBorder

public void setBorder(int border)
Setter for property border.

Parameters:
border - New value of property border.

setHspace

public void setHspace(int hSpace)
Setter for property hSpace.

Parameters:
hSpace - New value of property hSpace.

setVspace

public void setVspace(int vSpace)
Setter for property vSpace.

Parameters:
vSpace - New value of property vSpace.

getTagName

protected java.lang.String getTagName()
Specified by:
getTagName in class AbstractHTMLBaseTag

hasBody

protected boolean hasBody()
Specified by:
hasBody in class AbstractHTMLBaseTag

isWellFormed

protected boolean isWellFormed()
Specified by:
isWellFormed in class AbstractHTMLBaseTag

isForceSessionId

public boolean isForceSessionId()
Returns:
Returns the forceSessionId.

setForceSessionId

public void setForceSessionId(boolean forceSessionId)
Parameters:
forceSessionId - The forceSessionId to set.

isRemoveAfterRender

public boolean isRemoveAfterRender()
Returns:
Returns the removeAfterRender.

setRemoveAfterRender

public void setRemoveAfterRender(boolean removeAfterRender)
Parameters:
removeAfterRender - The removeAfterRender to set.


cewolf tag library - web charts with JFreeChart