|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.struts.tiles.taglib.UseAttributeTag
public class UseAttributeTag
Custom tag exposing a component attribute to page.
Field Summary | |
---|---|
protected boolean |
isErrorIgnored
Are errors ignored. |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
UseAttributeTag()
|
Method Summary | |
---|---|
int |
doEndTag()
Clean up after processing this enumeration. |
int |
doStartTag()
Expose the requested attribute from component context. |
java.lang.String |
getClassname()
Get class name. |
boolean |
getIgnore()
Get ignore. |
java.lang.String |
getName()
Get name. |
java.lang.String |
getScope()
Get scope. |
void |
release()
Release all allocated resources. |
void |
setClassname(java.lang.String name)
Set the class name. |
void |
setIgnore(boolean ignore)
Set ignore. |
void |
setName(java.lang.String value)
Set name. |
void |
setScope(java.lang.String scope)
Set the scope. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean isErrorIgnored
false
, which throws an exception.
Only "attribute not found" - errors are ignored.
Constructor Detail |
---|
public UseAttributeTag()
Method Detail |
---|
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
public java.lang.String getClassname()
public void setClassname(java.lang.String name)
name
- The new class name.public void setName(java.lang.String value)
public java.lang.String getName()
public void setScope(java.lang.String scope)
scope
- The new scope.public java.lang.String getScope()
public void setIgnore(boolean ignore)
public boolean getIgnore()
public 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
- if a JSP exception has occurredpublic 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
- if a JSP exception has occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |