org.apache.tiles.jsp.taglib
Class InsertDefinitionTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.tiles.jsp.taglib.TilesBodyTag
org.apache.tiles.jsp.taglib.RenderTag
org.apache.tiles.jsp.taglib.InsertTemplateTag
org.apache.tiles.jsp.taglib.InsertDefinitionTag
- 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, javax.servlet.jsp.tagext.TryCatchFinally, PutAttributeTagParent, PutListAttributeTagParent
public class InsertDefinitionTag
- extends InsertTemplateTag
This is the tag handler for <tiles:insertDefinition>, which includes a
name, eventually overriding or filling attributes of its template.
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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 |
java.lang.String |
getName()
Returns the name of the definition to insert. |
void |
release()
Release any per-instance resources, releasing any resources or state
before this tag instance is disposed. |
protected void |
renderContext()
Renders the current context. |
void |
setName(java.lang.String name)
Sets the name of the definition to insert. |
Methods inherited from class org.apache.tiles.jsp.taglib.RenderTag |
doEndTag, doStartTag, endContext, getPreparer, getRole, isFlush, isIgnore, processNestedTag, processNestedTag, setFlush, setIgnore, setPreparer, setRole, startContext |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
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 |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
InsertDefinitionTag
public InsertDefinitionTag()
getName
public java.lang.String getName()
- Returns the name of the definition to insert.
- Returns:
- The name of the definition.
setName
public void setName(java.lang.String name)
- Sets the name of the definition to insert.
- Parameters:
name
- The name of the definition.
release
public void release()
- Release any per-instance resources, releasing any resources or state
before this tag instance is disposed.
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class TilesBodyTag
- See Also:
Tag.release()
renderContext
protected void renderContext()
- Renders the current context.
- Overrides:
renderContext
in class InsertTemplateTag