|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.SimpleTagSupport org.apache.tiles.jsp.taglib.ImportAttributeTag
public class ImportAttributeTag
Import attribute(s) into the specified scope. If not explicitly named, all attributes are imported. If the scope is not specified, page scope is assumed.
Constructor Summary | |
---|---|
ImportAttributeTag()
|
Method Summary | |
---|---|
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. |
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImportAttributeTag()
Method Detail |
---|
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 JspException
doTag
in interface SimpleTag
doTag
in class SimpleTagSupport
JspException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |