![]() |
||
![]() |
![]() Alden Hosting provides professional, efficient, and reliable business-class Web hosting services to small- and medium-sized businesses. |
|
|
javax.servlet.jsp.tagext
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Constructor Summary | |
SimpleTagSupport()
Sole constructor. |
|
| Method Summary | |
void |
doTag()
Default processing of the tag does nothing. |
static JspTag |
findAncestorWithClass(JspTag from,
java.lang.Class klass)
Find the instance of a given class type that is closest to a given instance. |
protected JspFragment |
getJspBody()
Returns the body passed in by the container via setJspBody. |
protected JspContext |
getJspContext()
Returns the page context passed in by the container via setJspContext. |
JspTag |
getParent()
Returns the parent of this tag, for collaboration purposes. |
void |
setJspBody(JspFragment jspBody)
Stores the provided JspFragment. |
void |
setJspContext(JspContext pc)
Stores the provided JSP context in the private jspContext field. |
void |
setParent(JspTag parent)
Sets the parent of this tag, for collaboration purposes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleTagSupport()
| Method Detail |
public void doTag()
throws JspException,
java.io.IOException
JspException - Subclasses can throw JspException to indicate
an error occurred while processing this tag.
SkipPageException - If the page that
(either directly or indirectly) invoked this tag is to
cease evaluation. A Simple Tag Handler generated from a
tag file must throw this exception if an invoked Classic
Tag Handler returned SKIP_PAGE or if an invoked Simple
Tag Handler threw SkipPageException or if an invoked Jsp Fragment
threw a SkipPageException.
java.io.IOException - Subclasses can throw IOException if there was
an error writing to the output streamSimpleTag.doTag()public void setParent(JspTag parent)
The container invokes this method only if this tag invocation is nested within another tag invocation.
parent - the tag that encloses this tagpublic JspTag getParent()
public void setJspContext(JspContext pc)
JspContext via
getJspContext().
setJspContext in interface SimpleTagpc - the page context for this invocationSimpleTag.setJspContext(javax.servlet.jsp.JspContext)protected JspContext getJspContext()
public void setJspBody(JspFragment jspBody)
setJspBody in interface SimpleTagjspBody - The fragment encapsulating the body of this tag.
If the action element is empty in the page, this method is
not called at all.SimpleTag.setJspBody(javax.servlet.jsp.tagext.JspFragment)protected JspFragment getJspBody()
public static final JspTag findAncestorWithClass(JspTag from, java.lang.Class klass)
For every instance of TagAdapter encountered while traversing the ancestors, the tag handler returned by TagAdapter.getAdaptee() - instead of the TagAdpater itself - is compared to klass. If the tag handler matches, it - and not its TagAdapter - is returned.
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 JspTag or interface to be matched
|
|||||||||||
| 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