public class DefinitionTag
extends javax.servlet.jsp.tagext.SimpleTagSupport
Create a definition at runtime.
Create a new definition at runtime. Newly created definition will be available across the entire request.
Constructor and Description |
---|
DefinitionTag() |
Modifier and Type | Method and Description |
---|---|
void |
doTag() |
String |
getExtends()
Getter for extends property.
|
String |
getName()
Getter for name property.
|
String |
getPreparer()
Getter for preparer property.
|
String |
getRole()
Getter for role property.
|
String |
getTemplate()
Getter for template property.
|
void |
setExtends(String extendsParam)
Setter for extends property.
|
void |
setName(String name)
Setter for name property.
|
void |
setPreparer(String preparer)
Setter for preparer property.
|
void |
setRole(String role)
Setter for role property.
|
void |
setTemplate(String template)
Setter for template property.
|
public String getName()
public void setName(String name)
name
- The name of the definition to create. If not specified, an
anonymous definition will be created.public String getTemplate()
public void setTemplate(String template)
template
- The template of this definition.public String getRole()
public void setRole(String role)
role
- A comma-separated list of roles. If present, the definition
will be rendered only if the current user belongs to one of the roles.public String getExtends()
public void setExtends(String extendsParam)
extendsParam
- The definition name that this definition extends.public String getPreparer()
public void setPreparer(String preparer)
preparer
- The preparer to use to invoke before the definition is
rendered.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 © 2001-2017 The Apache Software Foundation. All Rights Reserved.