Package com.jalios.jcms.taglib
Class DataIconTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.jalios.jcms.taglib.IconTag
-
- com.jalios.jcms.taglib.DataIconTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class DataIconTag extends IconTag
Display the img html tag for given Data. Warning, if you specify one of the following attributes (css,title,alt), the override of Data.getDataIconHtml() will not be called. The tag will directly call HtmlUtil.getHtmlIcon(...).- Version:
- $Revision: 67007 $
- Author:
- Kevin Bransard
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataIconTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clean()
int
doStartTag()
protected void
prepareIconAttributes()
void
setAddTextualAlternative(boolean addTextualAlternative)
void
setClass(java.lang.Class<?> c)
void
setData(Data data)
-
Methods inherited from class com.jalios.jcms.taglib.IconTag
doEndTag, setAlt, setCss, setHtmlAttributes, setSrc, setTitle
-
-
-
-
Field Detail
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
data
protected Data data
-
clazz
protected java.lang.Class<?> clazz
-
addTextualAlternative
protected boolean addTextualAlternative
-
-
Method Detail
-
setData
public void setData(Data data)
-
setClass
public void setClass(java.lang.Class<?> c)
-
setAddTextualAlternative
public void setAddTextualAlternative(boolean addTextualAlternative)
-
prepareIconAttributes
protected void prepareIconAttributes()
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classIconTag
- Throws:
javax.servlet.jsp.JspException
-
-