public class ImportAttributeTag
extends javax.servlet.jsp.tagext.SimpleTagSupport
Constructor and Description |
---|
ImportAttributeTag() |
Modifier and Type | Method and Description |
---|---|
void |
doTag() |
String |
getName()
Get the name.
|
String |
getScope()
Get scope.
|
String |
getToName()
Returns the name of the destination attribute.
|
boolean |
isIgnore()
Get ignore flag.
|
void |
setIgnore(boolean ignore)
Set ignore flag.
|
void |
setName(String name)
Set the name.
|
void |
setScope(String scope)
Set the scope.
|
void |
setToName(String toName)
Sets the name of the destination attribute.
|
public void setScope(String scope)
scope
- Scope.public String getScope()
public String getName()
public void setName(String name)
name
- The new namepublic void setIgnore(boolean ignore)
ignore
- default: false
: Exception is thrown when attribute is not found, set to
true
to ignore missing attributes silentlypublic boolean isIgnore()
false
: Exception is thrown when attribute is not found, set to
true
to ignore missing attributes silentlypublic String getToName()
Returns the name of the destination attribute. If not specified, the name
will be the same as specified in name
attribute
public void setToName(String toName)
Sets the name of the destination attribute. If not specified, the name
will be the same as specified in name
attribute
toName
- The destination attribute name.public void doTag() throws javax.servlet.jsp.JspException
doTag
in interface javax.servlet.jsp.tagext.SimpleTag
doTag
in class javax.servlet.jsp.tagext.SimpleTagSupport
javax.servlet.jsp.JspException
Copyright © 2016. All rights reserved.