de.laures.cewolf.taglib.html
Class AbstractHTMLBaseTag

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
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:
HTMLImgTag

public abstract class AbstractHTMLBaseTag
extends CewolfBodyTag

Abstract base class which holds attribbutes common for all HTML 4.0 tags.

Author:
Guido Laures
See Also:
Serialized Form

Field Summary
protected  java.lang.String clazz
          Holds value of property clazz.
protected  java.lang.String dir
          Holds value of property dir.
protected  java.lang.String lang
          Holds value of property lang.
protected  java.lang.String onclick
          Holds value of property onclick.
protected  java.lang.String ondblclick
          Holds value of property ondblclick.
protected  java.lang.String onkeydown
          Holds value of property onkeydown.
protected  java.lang.String onkeypress
          Holds value of property onkeypress.
protected  java.lang.String onkeyup
          Holds value of property onkeyup.
protected  java.lang.String onmousedown
          Holds value of property onmousedown.
protected  java.lang.String onmousemove
          Holds value of property onmousemove.
protected  java.lang.String onmouseout
          Holds value of property onmouseout.
protected  java.lang.String onmouseover
          Holds value of property onmouseover.
protected  java.lang.String onmouseup
          Holds value of property onmouseup.
protected  java.lang.String style
          Holds value of property style.
protected  java.lang.String title
          Holds value of property title.
protected static float UNDEFINED_FLOAT
           
protected static int UNDEFINED_INT
           
protected static java.lang.String 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
AbstractHTMLBaseTag()
           
 
Method Summary
protected  void appendAttributeDeclaration(java.io.Writer wr, float attr, java.lang.String name)
           
protected  void appendAttributeDeclaration(java.io.Writer wr, int attr, java.lang.String name)
           
protected  void appendAttributeDeclaration(java.io.Writer wr, java.lang.String attr, java.lang.String name)
           
 int doEndTag()
           
 int doStartTag()
           
protected abstract  java.lang.String getTagName()
           
protected abstract  boolean hasBody()
           
protected abstract  boolean isWellFormed()
           
protected  void reset()
           
 void setClass(java.lang.String clazz)
          Setter for property clazz.
 void setDir(java.lang.String dir)
          Setter for property dir.
 void setHtmltitle(java.lang.String title)
          Setter for property title.
 void setLang(java.lang.String lang)
          Setter for property lang.
 void setOnclick(java.lang.String onclick)
          Setter for property onclick.
 void setOndblclick(java.lang.String ondblclick)
          Setter for property ondblclick.
 void setOnkeydown(java.lang.String onkeydown)
          Setter for property onkeydown.
 void setOnkeypress(java.lang.String onkeypress)
          Setter for property onkeypress.
 void setOnkeyup(java.lang.String onkeyup)
          Setter for property onkeyup.
 void setOnmousedown(java.lang.String onmousedown)
          Setter for property onmousedown.
 void setOnmousemove(java.lang.String onmousemove)
          Setter for property onmousemove.
 void setOnmouseout(java.lang.String onmouseout)
          Setter for property onmouseout.
 void setOnmouseover(java.lang.String onmouseover)
          Setter for property onmouseover.
 void setOnmouseup(java.lang.String onmouseup)
          Setter for property onmouseup.
 void setStyle(java.lang.String style)
          Setter for property style.
 void writeAttributes(java.io.Writer wr)
           
 
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

UNDEFINED_INT

protected static final int UNDEFINED_INT
See Also:
Constant Field Values

UNDEFINED_FLOAT

protected static final float UNDEFINED_FLOAT
See Also:
Constant Field Values

UNDEFINED_STR

protected static final java.lang.String UNDEFINED_STR

clazz

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


style

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


title

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


lang

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


dir

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


onclick

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


ondblclick

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


onmousedown

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


onmouseup

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


onmouseover

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


onmousemove

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


onmouseout

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


onkeypress

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


onkeydown

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


onkeyup

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

Constructor Detail

AbstractHTMLBaseTag

public AbstractHTMLBaseTag()
Method Detail

getTagName

protected abstract java.lang.String getTagName()

hasBody

protected abstract boolean hasBody()

isWellFormed

protected abstract boolean isWellFormed()

reset

protected void reset()
Specified by:
reset in class CewolfBodyTag

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class CewolfBodyTag
Throws:
javax.servlet.jsp.JspException
See Also:
Tag.doEndTag()

writeAttributes

public void writeAttributes(java.io.Writer wr)

appendAttributeDeclaration

protected void appendAttributeDeclaration(java.io.Writer wr,
                                          java.lang.String attr,
                                          java.lang.String name)
                                   throws java.io.IOException
Throws:
java.io.IOException

appendAttributeDeclaration

protected void appendAttributeDeclaration(java.io.Writer wr,
                                          int attr,
                                          java.lang.String name)
                                   throws java.io.IOException
Throws:
java.io.IOException

appendAttributeDeclaration

protected void appendAttributeDeclaration(java.io.Writer wr,
                                          float attr,
                                          java.lang.String name)
                                   throws java.io.IOException
Throws:
java.io.IOException

setClass

public void setClass(java.lang.String clazz)
Setter for property clazz.

Parameters:
clazz - New value of property clazz.

setStyle

public void setStyle(java.lang.String style)
Setter for property style.

Parameters:
style - New value of property style.

setHtmltitle

public void setHtmltitle(java.lang.String title)
Setter for property title.

Parameters:
title - New value of property title.

setLang

public void setLang(java.lang.String lang)
Setter for property lang.

Parameters:
lang - New value of property lang.

setDir

public void setDir(java.lang.String dir)
Setter for property dir.

Parameters:
dir - New value of property dir.

setOnclick

public void setOnclick(java.lang.String onclick)
Setter for property onclick.

Parameters:
onclick - New value of property onclick.

setOndblclick

public void setOndblclick(java.lang.String ondblclick)
Setter for property ondblclick.

Parameters:
ondblclick - New value of property ondblclick.

setOnmousedown

public void setOnmousedown(java.lang.String onmousedown)
Setter for property onmousedown.

Parameters:
onmousedown - New value of property onmousedown.

setOnmouseup

public void setOnmouseup(java.lang.String onmouseup)
Setter for property onmouseup.

Parameters:
onmouseup - New value of property onmouseup.

setOnmouseover

public void setOnmouseover(java.lang.String onmouseover)
Setter for property onmouseover.

Parameters:
onmouseover - New value of property onmouseover.

setOnmousemove

public void setOnmousemove(java.lang.String onmousemove)
Setter for property onmousemove.

Parameters:
onmousemove - New value of property onmousemove.

setOnmouseout

public void setOnmouseout(java.lang.String onmouseout)
Setter for property onmouseout.

Parameters:
onmouseout - New value of property onmouseout.

setOnkeypress

public void setOnkeypress(java.lang.String onkeypress)
Setter for property onkeypress.

Parameters:
onkeypress - New value of property onkeypress.

setOnkeydown

public void setOnkeydown(java.lang.String onkeydown)
Setter for property onkeydown.

Parameters:
onkeydown - New value of property onkeydown.

setOnkeyup

public void setOnkeyup(java.lang.String onkeyup)
Setter for property onkeyup.

Parameters:
onkeyup - New value of property onkeyup.


cewolf tag library - web charts with JFreeChart