public class GetAttributeTag extends javax.servlet.jsp.tagext.TagSupport implements ComponentConstants
COMPONENT_CONTEXT, COMPONENT_SCOPE, EXCEPTION_KEY, LOCALE_KEY
Constructor and Description |
---|
GetAttributeTag()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
doEndTag()
Close tag.
|
String |
getAttribute()
Get attribute.
|
boolean |
getIgnore()
Get ignore flag.
|
String |
getName()
Get Name.
|
String |
getRole()
Get role.
|
void |
release()
Release all allocated resources.
|
void |
setAttribute(String attribute)
Set attribute.
|
void |
setIgnore(boolean ignore)
Set ignoring flag when attribute is not found.
|
void |
setName(String value)
Set Name.
|
void |
setRole(String role)
Set role.
|
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
public void setAttribute(String attribute)
attribute
- Attribute.public String getAttribute()
public void setName(String value)
value
- Attribute.public String getName()
public void setIgnore(boolean ignore)
ignore
- default: false
: Exception is thrown when attribute is not found, set to
true
to ignore missing attributes silentlypublic boolean getIgnore()
false
: Exception is thrown when attribute is not found, set to
true
to ignore missing attributes silentlypublic void setRole(String role)
role
- The role the user must be in to store content.public String getRole()
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
- On error processing tag.Copyright © 2000–2016 Apache Software Foundation. All rights reserved.