public class ELGetAttributeTag extends GetAttributeTag
direct attribute. This tag
is intended to be compatible with the same tag from Templates (David
Geary). Implementation extends InsertTag for facility (no so well). The
only difference is the default value of attribute 'ignore', which is
true for this tag (default behavior of David Geary's
templates).
This class is a subclass of the class
org.apache.struts.taglib.tiles.GetAttributeTag which provides
most of the described functionality. This subclass allows all attribute
values to be specified as expressions utilizing the JavaServer Pages
Standard Library expression language.
COMPONENT_CONTEXT, COMPONENT_SCOPE, EXCEPTION_KEY, LOCALE_KEY| Constructor and Description |
|---|
ELGetAttributeTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag()
Process the start tag.
|
java.lang.String |
getIgnoreExpr()
Getter method for "ignore" tag attribute.
|
java.lang.String |
getNameExpr()
Getter method for "name" tag attribute.
|
java.lang.String |
getRoleExpr()
Getter method for "role" tag attribute.
|
void |
release()
Resets attribute values for tag reuse.
|
void |
setIgnoreExpr(java.lang.String ignoreExpr)
Setter method for "ignore" tag attribute.
|
void |
setNameExpr(java.lang.String nameExpr)
Setter method for "name" tag attribute.
|
void |
setRoleExpr(java.lang.String roleExpr)
Setter method for "role" tag attribute.
|
doEndTag, getAttribute, getIgnore, getName, getRole, setAttribute, setIgnore, setName, setRolepublic java.lang.String getNameExpr()
public java.lang.String getIgnoreExpr()
public java.lang.String getRoleExpr()
public void setNameExpr(java.lang.String nameExpr)
public void setIgnoreExpr(java.lang.String ignoreExpr)
public void setRoleExpr(java.lang.String roleExpr)
public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class GetAttributeTagpublic 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 - if a JSP exception has occurredCopyright © 2000–2024 Apache Software Foundation. All rights reserved.