org.apache.tiles.taglib.definition
Class DefinitionTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.tiles.taglib.definition.DefinitionTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, PutAttributeTagParent
public class DefinitionTag
- extends javax.servlet.jsp.tagext.TagSupport
- implements PutAttributeTagParent
This is the tag handler for <tiles:definition>, which defines
a tiles (or template / component). TileDefinition is put in requested context and can be
used in <tiles:insert>.
- 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 |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, 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 |
DefinitionTag
public DefinitionTag()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getTemplate
public java.lang.String getTemplate()
setTemplate
public void setTemplate(java.lang.String template)
getExtends
public java.lang.String getExtends()
setExtends
public void setExtends(java.lang.String extend)
getRole
public java.lang.String getRole()
setRole
public void setRole(java.lang.String role)
getPreparer
public java.lang.String getPreparer()
setPreparer
public void setPreparer(java.lang.String preparer)
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class javax.servlet.jsp.tagext.TagSupport
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
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
- Returns:
-
- Throws:
javax.servlet.jsp.JspException
processNestedTag
public void processNestedTag(PutAttributeTag nestedTag)
throws javax.servlet.jsp.JspException
- Reset member values for reuse. This method calls super.release(),
which invokes TagSupport.release(), which typically does nothing.
- Specified by:
processNestedTag
in interface PutAttributeTagParent
- Parameters:
nestedTag
- Nested tag to process.
- Throws:
javax.servlet.jsp.JspException