Package com.jalios.jcms.taglib.menu
Class MenuItemTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.jalios.jcms.taglib.IncludeTag
-
- com.jalios.jcms.taglib.menu.MenuItemTag
-
- 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
- Direct Known Subclasses:
SubMenuTag
public class MenuItemTag extends IncludeTag
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.jalios.jcms.taglib.IncludeTag
INCLUDE_BODY, INCLUDE_CONTEXT, JCMS_RESOURCE_INCLUDE_PREFIX_PROP, REVISION
-
-
Constructor Summary
Constructors Constructor Description MenuItemTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
int
doStartTag()
java.lang.String
getCss()
protected java.lang.String
getDefinedResource()
int
getDepthLevel()
java.lang.String
getHtmlAttributes()
java.lang.String
getIcon()
java.lang.String
getId()
java.lang.String
getLabel()
java.lang.String
getLink()
int
getMaxDepthLevel()
java.lang.String
getParentId()
boolean
isActive()
void
setActive(boolean active)
void
setContext(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String body)
void
setCss(java.lang.String css)
void
setDepthLevel(int depthLevel)
void
setHtmlAttributes(java.lang.String htmlAttributes)
void
setIcon(java.lang.String icon)
void
setId(java.lang.String id)
void
setLabel(java.lang.String label)
void
setLink(java.lang.String link)
void
setMaxDepthLevel(int maxDepthLevel)
void
setParentId(java.lang.String parentId)
-
Methods inherited from class com.jalios.jcms.taglib.IncludeTag
doAfterBody, doBeforeBody, doEndTag, doInitBody, getClazz, getFile, getIncludeObject, getIncludeString, getJsp, getPub, getResource, getTarget, getTargetContext, getUsage, include, include, notRecusiveInclude, printErrorMessage, setClazz, setFile, 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
-
-
-
-
Method Detail
-
getDefinedResource
protected java.lang.String getDefinedResource()
-
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
-
clean
public void clean()
- Overrides:
clean
in classIncludeTag
-
getId
public java.lang.String getId()
- Overrides:
getId
in classIncludeTag
-
setId
public void setId(java.lang.String id)
- Overrides:
setId
in classIncludeTag
-
getLabel
public java.lang.String getLabel()
-
setLabel
public void setLabel(java.lang.String label)
-
getIcon
public java.lang.String getIcon()
-
setIcon
public void setIcon(java.lang.String icon)
-
getLink
public java.lang.String getLink()
-
setLink
public void setLink(java.lang.String link)
-
getCss
public java.lang.String getCss()
-
getDepthLevel
public int getDepthLevel()
-
setDepthLevel
public void setDepthLevel(int depthLevel)
-
getMaxDepthLevel
public int getMaxDepthLevel()
-
setMaxDepthLevel
public void setMaxDepthLevel(int maxDepthLevel)
-
isActive
public boolean isActive()
-
setActive
public void setActive(boolean active)
-
getParentId
public java.lang.String getParentId()
-
setParentId
public void setParentId(java.lang.String parentId)
-
setCss
public void setCss(java.lang.String css)
-
getHtmlAttributes
public java.lang.String getHtmlAttributes()
-
setHtmlAttributes
public void setHtmlAttributes(java.lang.String htmlAttributes)
-
-