![]() |
||
![]() |
![]() Alden Hosting provides professional, efficient, and reliable business-class Web hosting services to small- and medium-sized businesses. |
|
|
javax.servlet.jsp.tagext
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Field Summary | |
protected java.lang.String |
id
The value of the id attribute of this tag; or null. |
protected PageContext |
pageContext
The 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 | |
TagSupport()
Default constructor, all subclasses are required to define only a public constructor with the same signature, and to call the superclass constructor. |
|
| Method Summary | |
int |
doAfterBody()
Default processing for a body. |
int |
doEndTag()
Default processing of the end tag returning EVAL_PAGE. |
int |
doStartTag()
Default processing of the start tag, returning SKIP_BODY. |
static Tag |
findAncestorWithClass(Tag from,
java.lang.Class klass)
Find the instance of a given class type that is closest to a given instance. |
java.lang.String |
getId()
The value of the id attribute of this tag; or null. |
Tag |
getParent()
The Tag instance most closely enclosing this tag instance. |
java.lang.Object |
getValue(java.lang.String k)
Get a the value associated with a key. |
java.util.Enumeration |
getValues()
Enumerate the keys for the values kept by this tag handler. |
void |
release()
Release state. |
void |
removeValue(java.lang.String k)
Remove a value associated with a key. |
void |
setId(java.lang.String id)
Set the id attribute for this tag. |
void |
setPageContext(PageContext pageContext)
Set the page context. |
void |
setParent(Tag t)
Set the nesting tag of this tag. |
void |
setValue(java.lang.String k,
java.lang.Object o)
Associate a value with a String key. |
| 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 PageContext pageContext
| Constructor Detail |
public TagSupport()
| Method Detail |
public static final Tag findAncestorWithClass(Tag from, java.lang.Class klass)
The current version of the specification only provides one formal way of indicating the observable type of a tag handler: its tag handler implementation class, described in the tag-class subelement of the tag element. This is extended in an informal manner by allowing the tag library author to indicate in the description subelement an observable type. The type should be a subtype of the tag handler implementation class or void. This addititional constraint can be exploited by a specialized container that knows about that specific tag library, as in the case of the JSP standard tag library.
When a tag library author provides information on the observable type of a tag handler, client programmatic code should adhere to that constraint. Specifically, the Class passed to findAncestorWithClass should be a subtype of the observable type.
from - The instance from where to start looking.klass - The subclass of Tag or interface to be matched
public int doStartTag()
throws JspException
doStartTag in interface TagJspException - if an error occurs while processing this tagTag.doStartTag()
public int doEndTag()
throws JspException
JspException - if an error occurs while processing this tagTag.doEndTag()
public int doAfterBody()
throws JspException
doAfterBody in interface IterationTagJspException - if an error occurs while processing this tagIterationTag.doAfterBody()public void release()
Tag.release()public void setParent(Tag t)
t - The parent Tag.Tag.setParent(Tag)public Tag getParent()
Tag.getParent()public void setId(java.lang.String id)
id - The String for the id.public java.lang.String getId()
public void setPageContext(PageContext pageContext)
setPageContext in interface TagpageContext - The PageContext.Tag.setPageContext(javax.servlet.jsp.PageContext)
public void setValue(java.lang.String k,
java.lang.Object o)
k - The key String.o - The value to associate.public java.lang.Object getValue(java.lang.String k)
k - The string key.
public void removeValue(java.lang.String k)
k - The string key.public java.util.Enumeration getValues()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
![]() |
|
http://alden-servlet-Hosting.com
JSP at alden-servlet-Hosting.com
Servlets at alden-servlet-Hosting.com
Servlet at alden-servlet-Hosting.com
Tomcat at alden-servlet-Hosting.com
MySQL at alden-servlet-Hosting.com
Java at alden-servlet-Hosting.com
sFTP at alden-servlet-Hosting.com
http://alden-tomcat-Hosting.com
JSP at alden-tomcat-Hosting.com
Servlets at alden-tomcat-Hosting.com
Servlet at alden-tomcat-Hosting.com
Tomcat at alden-tomcat-Hosting.com
MySQL at alden-tomcat-Hosting.com
Java at alden-tomcat-Hosting.com
sFTP at alden-tomcat-Hosting.com
http://alden-sftp-Hosting.com
JSP at alden-sftp-Hosting.com
Servlets at alden-sftp-Hosting.com
Servlet at alden-sftp-Hosting.com
Tomcat at alden-sftp-Hosting.com
MySQL at alden-sftp-Hosting.com
Java at alden-sftp-Hosting.com
sFTP at alden-sftp-Hosting.com
http://alden-jsp-Hosting.com
JSP at alden-jsp-Hosting.com
Servlets at alden-jsp-Hosting.com
Servlet at alden-jsp-Hosting.com
Tomcat at alden-jsp-Hosting.com
MySQL at alden-jsp-Hosting.com
Java at alden-jsp-Hosting.com
sFTP at alden-jsp-Hosting.com
http://alden-java-Hosting.com
JSp at alden-java-Hosting.com
Servlets at alden-java-Hosting.com
Servlet at alden-java-Hosting.com
Tomcat at alden-java-Hosting.com
MySQL at alden-java-Hosting.com
Java at alden-java-Hosting.com
sFTP at alden-java-Hosting.com
JSP
Servlets
Tomcat
mysql
Java
JSP
Servlets
Tomcat
mysql
Java
JSP
Servlets
Tomcat
mysql
Java
JSP
Servlets
Tomcat
mysql
Java
JSP at JSP.aldenWEBhosting.com
Servlets at servlets.aldenWEBhosting.com
Tomcat at Tomcat.aldenWEBhosting.com
mysql at mysql.aldenWEBhosting.com
Java at Java.aldenWEBhosting.com
Web Hosts Portal
Web Links
Web Links
Web Hosting
JSP Solutions Web Links
JSP Solutions Web Hosting
Servlets Solutions Web Links
Servlets Solutions Web Hosting
Web Links
Web Links
.
.
.
.
.
.
.
.
.
.
jsp hosting
servlets hosting
web hosting
web sites designed
cheap web hosting
web site hosting
myspace web hosting