|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.tiles.jsp.taglib.definition.DefinitionTag
public class DefinitionTag
This is the tag handler for <tiles:definition>, which creates a custom
definition. If the configured container is a MutableTilesContainer,
this newly created definition can be used in <tiles:insertDefinition>.
| Field Summary |
|---|
| 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 |
| Constructor Summary | |
|---|---|
DefinitionTag()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
|
int |
doStartTag()
|
java.lang.String |
getExtends()
Returns the (optional) definition name that this definition extends. |
java.lang.String |
getName()
Returns the name of the definition to configure. |
java.lang.String |
getPreparer()
Returns the definition view preparer. |
java.lang.String |
getRole()
Returns the role to check when rendering this definition. |
java.lang.String |
getTemplate()
Returns the template URI of the definition. |
void |
processNestedTag(PutAttributeTag nestedTag)
Reset member values for reuse. |
void |
release()
|
void |
setExtends(java.lang.String extend)
Sets the (optional) definition name that this definition extends. |
void |
setName(java.lang.String name)
Sets the name of the definition to configure. |
void |
setPreparer(java.lang.String preparer)
Sets the definition view preparer. |
void |
setRole(java.lang.String role)
Sets the role to check when rendering this definition. |
void |
setTemplate(java.lang.String template)
Sets the template URI of the definition. |
| 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 |
| Constructor Detail |
|---|
public DefinitionTag()
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - The definition name.public java.lang.String getTemplate()
public void setTemplate(java.lang.String template)
template - The template URI.public java.lang.String getExtends()
public void setExtends(java.lang.String extend)
extend - The extending definition name.public java.lang.String getRole()
public void setRole(java.lang.String role)
role - The role to check.public java.lang.String getPreparer()
public void setPreparer(java.lang.String preparer)
preparer - The view preparer name.public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupport
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException
public void processNestedTag(PutAttributeTag nestedTag)
throws javax.servlet.jsp.JspException
processNestedTag in interface PutAttributeTagParentnestedTag - The nested PutAttributeTag
javax.servlet.jsp.JspException - Never thrown, it's here for API compatibility.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||