Class MimeTypeIconTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.silverpeas.core.web.util.viewgenerator.html.icons.MimeTypeIconTag
-
- All Implemented Interfaces:
Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class MimeTypeIconTag extends javax.servlet.jsp.tagext.TagSupport
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MimeTypeIconTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doEndTag()
int
doStartTag()
void
setDivId(String divId)
void
setFileExtension(String fileExtension)
void
setFileName(String fileName)
-
-
-
Method Detail
-
doEndTag
public int doEndTag() throws javax.servlet.jsp.JspException
- Specified by:
doEndTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in classjavax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classjavax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
-
setFileName
public void setFileName(String fileName)
- Parameters:
fileName
- the fileName to set for the wanted icon.
-
setFileExtension
public void setFileExtension(String fileExtension)
- Parameters:
fileExtension
- the file extension to set
-
setDivId
public void setDivId(String divId)
- Parameters:
divId
- the id attribute for the cerated div.
-
-