Package com.jalios.jcms.taglib
Class ShareTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.jalios.jcms.taglib.ShareTag
-
- 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
public class ShareTag extends javax.servlet.jsp.tagext.BodyTagSupport
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShareTag()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doAfterBody()
int
doEndTag()
int
doStartTag()
java.lang.String
getCss()
Data
getData()
java.lang.String
getPrefix()
java.lang.String
getSuffix()
java.lang.String
getTitle()
static void
printErrorMessage(java.lang.String jsp, java.lang.Exception ex, javax.servlet.jsp.PageContext pageContext)
Print an Exception message in log and in JSP (if developement mode)void
setCss(java.lang.String css)
void
setData(Data data)
void
setPrefix(java.lang.String prefix)
void
setSuffix(java.lang.String suffix)
void
setTitle(java.lang.String title)
-
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
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.BodyTagSupport
- Throws:
javax.servlet.jsp.JspException
-
doAfterBody
public int doAfterBody() throws javax.servlet.jsp.JspException
- Specified by:
doAfterBody
in interfacejavax.servlet.jsp.tagext.IterationTag
- Overrides:
doAfterBody
in classjavax.servlet.jsp.tagext.BodyTagSupport
- Throws:
javax.servlet.jsp.JspException
-
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.BodyTagSupport
- Throws:
javax.servlet.jsp.JspException
-
printErrorMessage
public static void printErrorMessage(java.lang.String jsp, java.lang.Exception ex, javax.servlet.jsp.PageContext pageContext)
Print an Exception message in log and in JSP (if developement mode)- Parameters:
jsp
- the JSP usedex
- the exceptionpageContext
- the given pageContext
-
getCss
public java.lang.String getCss()
-
setCss
public void setCss(java.lang.String css)
-
getData
public Data getData()
-
setData
public void setData(Data data)
-
getSuffix
public java.lang.String getSuffix()
-
setSuffix
public void setSuffix(java.lang.String suffix)
-
getPrefix
public java.lang.String getPrefix()
-
setPrefix
public void setPrefix(java.lang.String prefix)
-
getTitle
public java.lang.String getTitle()
-
setTitle
public void setTitle(java.lang.String title)
-
-