Class ImageTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.SimpleTagSupport
-
- org.silverpeas.core.web.util.viewgenerator.html.ImageTag
-
- All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.SimpleTag
public class ImageTag extends javax.servlet.jsp.tagext.SimpleTagSupport
- Author:
- mmoquillon
-
-
Constructor Summary
Constructors Constructor Description ImageTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doTag()
String
generateHtml()
String
getAlt()
String
getCss()
String
getId()
String
getSize()
String
getSrc()
String
getType()
protected String
getWebContext()
protected void
println(String txt)
void
setAlt(String alt)
void
setCss(String css)
void
setId(String id)
void
setSize(String size)
void
setSrc(String src)
void
setType(String type)
String
toString()
-
-
-
Method Detail
-
getSrc
public String getSrc()
-
setSrc
public void setSrc(String src)
-
getAlt
public String getAlt()
-
setAlt
public void setAlt(String alt)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getSize
public String getSize()
-
setSize
public void setSize(String size)
-
getCss
public String getCss()
-
setCss
public void setCss(String css)
-
getId
public String getId()
-
setId
public void setId(String id)
-
doTag
public void doTag() throws javax.servlet.jsp.JspException, IOException
- Specified by:
doTag
in interfacejavax.servlet.jsp.tagext.SimpleTag
- Overrides:
doTag
in classjavax.servlet.jsp.tagext.SimpleTagSupport
- Throws:
javax.servlet.jsp.JspException
IOException
-
generateHtml
public String generateHtml()
-
println
protected void println(String txt) throws IOException
- Throws:
IOException
-
getWebContext
protected String getWebContext()
-
-