|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--org.ejtools.servlet.http.jsp.tagext.ObjectClassTag
Tag that put the object class in the page context
The object class is put in the context with :
id parameter : used as the identifiername,property and scope parameter : used to fetch an object. This object class it then computes
| Field Summary | |
protected java.lang.String |
id
Id property of the tag |
protected java.lang.String |
name
Name property of the tag |
protected java.lang.String |
property
Property property of the tag |
protected java.lang.String |
scope
Scope property of the tag |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
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 | |
ObjectClassTag()
|
|
| Method Summary | |
int |
doStartTag()
Executed when the start tag is encountered |
java.lang.String |
getId()
Gets the id value of this tag |
java.lang.String |
getName()
Gets the name value of this tag |
java.lang.String |
getProperty()
Gets the property value of this tag |
java.lang.String |
getScope()
Gets the scope value of this tag |
void |
release()
Release all allocated resources. |
void |
setId(java.lang.String id)
Sets the id value of this tag |
void |
setName(java.lang.String name)
Sets the name value of this tag |
void |
setProperty(java.lang.String property)
Sets the property value of this tag |
void |
setScope(java.lang.String scope)
Sets the scope value of this tag |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String id
protected java.lang.String name
protected java.lang.String property
protected java.lang.String scope
| Constructor Detail |
public ObjectClassTag()
| Method Detail |
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - In case of problempublic java.lang.String getId()
getId in class javax.servlet.jsp.tagext.TagSupportpublic java.lang.String getName()
public java.lang.String getProperty()
public java.lang.String getScope()
public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupportpublic void setId(java.lang.String id)
setId in class javax.servlet.jsp.tagext.TagSupportid - The new id valuepublic void setName(java.lang.String name)
name - The new name valuepublic void setProperty(java.lang.String property)
property - The new property valuepublic void setScope(java.lang.String scope)
scope - The new scope value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||