public class ImportAttributeTag
extends javax.servlet.jsp.tagext.TagSupport
Modifier and Type | Field and Description |
---|---|
protected boolean |
isErrorIgnored
Are errors ignored.
|
Constructor and Description |
---|
ImportAttributeTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag()
Clean up after processing this enumeration.
|
int |
doStartTag()
Expose the requested property from component context.
|
boolean |
getIgnore()
Get ignore flag.
|
String |
getName()
Get the name.
|
String |
getScope()
Get scope.
|
void |
release()
Release all allocated resources.
|
void |
setIgnore(boolean ignore)
Set ignore flag.
|
void |
setName(String name)
Set the name.
|
void |
setScope(String scope)
Set the scope.
|
protected boolean isErrorIgnored
ignore
.
Default value is false
, which throws an exception.
Only "attribute not found" - errors are ignored.public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
public String getName()
public void setName(String name)
name
- The new namepublic void setScope(String scope)
scope
- Scope.public String getScope()
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 int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
- On errors processing tag.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 errors processing tag.Copyright © 2000–2017 Apache Software Foundation. All rights reserved.