Package com.jalios.jcms.taglib.card
Class CardDataTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.jalios.jcms.taglib.IncludeTag
-
- com.jalios.jcms.taglib.card.CardTag
-
- com.jalios.jcms.taglib.card.CardDataTag
-
- 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 CardDataTag extends CardTag
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_TEMPLATE
static java.lang.String
DEFAULT_TITLE_TAG
static java.lang.String
REVISION
static java.lang.String
THUMBNAIL_DEFAULT_HEIGHT_PROP
static java.lang.String
THUMBNAIL_DEFAULT_WIDTH_PROP
-
Fields inherited from class com.jalios.jcms.taglib.card.CardTag
customLinkProvided
-
Fields inherited from class com.jalios.jcms.taglib.IncludeTag
INCLUDE_BODY, INCLUDE_CONTEXT, JCMS_RESOURCE_INCLUDE_PREFIX_PROP
-
-
Constructor Summary
Constructors Constructor Description CardDataTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
int
doAfterBody()
int
doStartTag()
java.lang.Object
getData()
protected java.lang.String
getDataImage(java.lang.String lang, boolean useDefault)
java.lang.String
getImage()
java.util.Map<java.lang.String,java.lang.String[]>
getLinkParams()
java.lang.String
getTemplate()
void
setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
void
setData(java.lang.Object data)
void
setImage(java.lang.String image)
void
setLinkParams(java.util.Map<java.lang.String,java.lang.String[]> linkParams)
void
setTemplate(java.lang.String template)
void
setTitleTag(java.lang.String titleTag)
-
Methods inherited from class com.jalios.jcms.taglib.card.CardTag
getCss, getDataAttribute, getHtmlAttributes, getHtmlTagWrapper, setCss, setDataAttribute, setHtmlAttributes, setHtmlTagWrapper, setLink, setLinkOptions
-
Methods inherited from class com.jalios.jcms.taglib.IncludeTag
doBeforeBody, doEndTag, doInitBody, getClazz, getFile, getId, getIncludeObject, getIncludeString, getJsp, getPub, getResource, getTarget, getTargetContext, getUsage, include, include, notRecusiveInclude, printErrorMessage, setClazz, setFile, setId, setIncludeString, setJsp, setPub, setResource, setTarget, setTargetContext, setUsage, skipInclude
-
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
getBodyContent, getPreviousOut, release, setBodyContent
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
-
-
-
-
Field Detail
-
DEFAULT_TITLE_TAG
public static final java.lang.String DEFAULT_TITLE_TAG
- See Also:
- Constant Field Values
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
THUMBNAIL_DEFAULT_WIDTH_PROP
public static final java.lang.String THUMBNAIL_DEFAULT_WIDTH_PROP
- See Also:
- Constant Field Values
-
THUMBNAIL_DEFAULT_HEIGHT_PROP
public static final java.lang.String THUMBNAIL_DEFAULT_HEIGHT_PROP
- See Also:
- Constant Field Values
-
DEFAULT_TEMPLATE
public static final java.lang.String DEFAULT_TEMPLATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classCardTag
- 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 classIncludeTag
- Throws:
javax.servlet.jsp.JspException
-
setContext
public void setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
- Overrides:
setContext
in classCardTag
-
getData
public java.lang.Object getData()
-
setData
public void setData(java.lang.Object data)
-
getDataImage
protected java.lang.String getDataImage(java.lang.String lang, boolean useDefault)
-
getImage
public java.lang.String getImage()
-
setImage
public void setImage(java.lang.String image)
-
getTemplate
public java.lang.String getTemplate()
-
setTemplate
public void setTemplate(java.lang.String template)
-
getLinkParams
public java.util.Map<java.lang.String,java.lang.String[]> getLinkParams()
-
setLinkParams
public void setLinkParams(java.util.Map<java.lang.String,java.lang.String[]> linkParams)
-
setTitleTag
public void setTitleTag(java.lang.String titleTag)
-
-