Package com.jalios.jtaglib
Class ImageTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.jalios.jtaglib.ImageTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class ImageTag extends javax.servlet.jsp.tagext.TagSupport
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
align
protected java.lang.String
alt
protected int
border
protected java.lang.String
clazz
protected java.lang.String
height
protected int
hspace
protected java.lang.String
id
protected java.lang.String
link
protected java.lang.String
name
static java.lang.String
REVISION
protected java.lang.String
src
protected java.lang.String
target
protected java.lang.String
usemap
protected int
vspace
protected java.lang.String
width
-
Constructor Summary
Constructors Constructor Description ImageTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doEndTag()
int
doStartTag()
void
setAlign(java.lang.String align)
Sets the align.void
setAlt(java.lang.String alt)
Sets the alt.void
setBorder(int border)
Sets the border.void
setClazz(java.lang.String clazz)
void
setHeight(java.lang.String height)
Sets the height.void
setHspace(int hspace)
Sets the hspace.void
setId(java.lang.String id)
void
setLink(java.lang.String link)
Sets the link.void
setName(java.lang.String name)
void
setSrc(java.lang.String src)
Sets the src.void
setTarget(java.lang.String target)
Sets the target.void
setUsemap(java.lang.String usemap)
Sets the usemap.void
setVspace(int vspace)
Sets the vspace.void
setWidth(java.lang.String width)
Sets the width.
-
-
-
Field Detail
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
align
protected java.lang.String align
-
alt
protected java.lang.String alt
-
border
protected int border
-
height
protected java.lang.String height
-
width
protected java.lang.String width
-
hspace
protected int hspace
-
vspace
protected int vspace
-
src
protected java.lang.String src
-
usemap
protected java.lang.String usemap
-
link
protected java.lang.String link
-
target
protected java.lang.String target
-
name
protected java.lang.String name
-
id
protected java.lang.String id
-
clazz
protected java.lang.String clazz
-
-
Method Detail
-
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
-
doEndTag
public int doEndTag()
- Specified by:
doEndTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in classjavax.servlet.jsp.tagext.TagSupport
-
setAlign
public void setAlign(java.lang.String align)
Sets the align.- Parameters:
align
- The align to set
-
setAlt
public void setAlt(java.lang.String alt)
Sets the alt.- Parameters:
alt
- The alt to set
-
setBorder
public void setBorder(int border)
Sets the border.- Parameters:
border
- The border to set
-
setName
public void setName(java.lang.String name)
-
setId
public void setId(java.lang.String id)
- Overrides:
setId
in classjavax.servlet.jsp.tagext.TagSupport
-
setClazz
public void setClazz(java.lang.String clazz)
-
setHeight
public void setHeight(java.lang.String height)
Sets the height.- Parameters:
height
- The height to set
-
setWidth
public void setWidth(java.lang.String width)
Sets the width.- Parameters:
width
- The width to set
-
setHspace
public void setHspace(int hspace)
Sets the hspace.- Parameters:
hspace
- The hspace to set
-
setVspace
public void setVspace(int vspace)
Sets the vspace.- Parameters:
vspace
- The vspace to set
-
setSrc
public void setSrc(java.lang.String src)
Sets the src.- Parameters:
src
- The src to set
-
setUsemap
public void setUsemap(java.lang.String usemap)
Sets the usemap.- Parameters:
usemap
- The usemap to set
-
setLink
public void setLink(java.lang.String link)
Sets the link.- Parameters:
link
- The link to set
-
setTarget
public void setTarget(java.lang.String target)
Sets the target.- Parameters:
target
- The target to set
-
-