public class DefinitionTag
extends javax.servlet.jsp.tagext.SimpleTagSupport
MutableTilesContainer
,
this newly created definition can be used in <tiles:insertDefinition>.Constructor and Description |
---|
DefinitionTag() |
Modifier and Type | Method and Description |
---|---|
void |
doTag() |
String |
getExtends()
Returns the (optional) definition name that this definition extends.
|
String |
getName()
Returns the name of the definition to configure.
|
String |
getPreparer()
Returns the definition view preparer.
|
String |
getRole()
Returns the role to check when rendering this definition.
|
String |
getTemplate()
Returns the template URI of the definition.
|
void |
setExtends(String extend)
Sets the (optional) definition name that this definition extends.
|
void |
setName(String name)
Sets the name of the definition to configure.
|
void |
setPreparer(String preparer)
Sets the definition view preparer.
|
void |
setRole(String role)
Sets the role to check when rendering this definition.
|
void |
setTemplate(String template)
Sets the template URI of the definition.
|
public String getName()
public void setName(String name)
name
- The definition name.public String getTemplate()
public void setTemplate(String template)
template
- The template URI.public String getExtends()
public void setExtends(String extend)
extend
- The extending definition name.public String getRole()
public void setRole(String role)
role
- The role to check.public String getPreparer()
public void setPreparer(String preparer)
preparer
- The view preparer name.public void doTag() throws javax.servlet.jsp.JspException, IOException
doTag
in interface javax.servlet.jsp.tagext.SimpleTag
doTag
in class javax.servlet.jsp.tagext.SimpleTagSupport
javax.servlet.jsp.JspException
IOException
Copyright © 2016. All rights reserved.