Package com.jalios.jcms.taglib
Class BreadcrumbTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.jalios.jcms.taglib.IncludeTag
-
- com.jalios.jcms.taglib.BreadcrumbTag
-
- 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 BreadcrumbTag extends IncludeTag
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
css
protected DataAttribute
dataAttribute
protected java.lang.String
htmlAttributes
protected java.util.List<BreadcrumbItem>
items
protected java.lang.String
label
-
Fields inherited from class com.jalios.jcms.taglib.IncludeTag
INCLUDE_BODY, INCLUDE_CONTEXT, JCMS_RESOURCE_INCLUDE_PREFIX_PROP
-
-
Constructor Summary
Constructors Constructor Description BreadcrumbTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
int
doAfterBody()
int
doStartTag()
java.lang.String
getCss()
DataAttribute
getDataAttribute()
java.lang.String
getHtmlAttributes()
java.util.List<BreadcrumbItem>
getItems()
void
setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
void
setCss(java.lang.String css)
void
setDataAttribute(DataAttribute dataAttribute)
void
setHtmlAttributes(java.lang.String htmlAttributes)
void
setItems(java.util.List<BreadcrumbItem> items)
void
setLabel(java.lang.String label)
-
Methods inherited from class com.jalios.jcms.taglib.IncludeTag
doBeforeBody, doEndTag, doInitBody, getClazz, getFile, getId, getIncludeBoolean, 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
-
items
protected java.util.List<BreadcrumbItem> items
-
css
protected java.lang.String css
-
dataAttribute
protected DataAttribute dataAttribute
-
htmlAttributes
protected java.lang.String htmlAttributes
-
label
protected java.lang.String label
-
-
Method Detail
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
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 classIncludeTag
-
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
-
clean
public void clean()
- Overrides:
clean
in classIncludeTag
-
getItems
public java.util.List<BreadcrumbItem> getItems()
-
setItems
public void setItems(java.util.List<BreadcrumbItem> items)
-
getCss
public java.lang.String getCss()
-
setCss
public void setCss(java.lang.String css)
-
getDataAttribute
public DataAttribute getDataAttribute()
-
setDataAttribute
public void setDataAttribute(DataAttribute dataAttribute)
-
getHtmlAttributes
public java.lang.String getHtmlAttributes()
-
setHtmlAttributes
public void setHtmlAttributes(java.lang.String htmlAttributes)
-
setLabel
public void setLabel(java.lang.String label)
-
-