org.apache.tiles.jsp.taglib.definition
Class SetCurrentContainerTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.tiles.jsp.taglib.definition.SetCurrentContainerTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class SetCurrentContainerTag
- extends javax.servlet.jsp.tagext.TagSupport
Sets the current container, to be used by Tiles tags.
- Since:
- 2.1.0
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Method Summary |
int |
doEndTag()
|
java.lang.String |
getContainerKey()
Returns the key under which the container is stored. |
void |
release()
|
void |
setContainerKey(java.lang.String containerKey)
Sets the key under which the container is stored. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetCurrentContainerTag
public SetCurrentContainerTag()
getContainerKey
public java.lang.String getContainerKey()
- Returns the key under which the container is stored.
- Returns:
- the containerKey The container key.
- Since:
- 2.1.0
setContainerKey
public void setContainerKey(java.lang.String containerKey)
- Sets the key under which the container is stored.
- Parameters:
containerKey
- the containerKey The container key.- Since:
- 2.1.0
release
public void release()
-
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class javax.servlet.jsp.tagext.TagSupport
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
-
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException