public class DefinitionTag
extends SimpleTagSupport
MutableTilesContainer,
this newly created definition can be used in <tiles:insertDefinition>.| Constructor and Description |
|---|
DefinitionTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
doTag() |
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 |
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.
|
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 doTag()
throws JspException,
java.io.IOException
JspExceptionjava.io.IOException