|
|||||||||
| 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.taglibs.scrape.ResultTag
public class ResultTag
ResultTag - JSP tag result returns the result of the scrape uniquely identified by a scrapeid.
JSP Tag Lib Descriptor
<name>result</name>
<tagclass>org.apache.taglibs.scrape.ResultTag</tagclass>
<bodycontent>empty</bodycontent>
<info>Get the HTML extracted by the scrape of a page</info>
<attribute>
<name>scrape</name>
<required>true</required>
<rtexprval>false</rtexprval>
</attribute>
PageData,
Serialized Form| Field Summary |
|---|
| 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 | |
|---|---|
ResultTag()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
implementation of method from the Tag interface that tells the JSP what to do upon encountering the end tag for this tag |
void |
setScrape(java.lang.String scrapeid)
setter method for scrapeid |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResultTag()
| Method Detail |
|---|
public final int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportJSPException - thrown when error occurs in processing the body
of this method
javax.servlet.jsp.JspExceptionpublic final void setScrape(java.lang.String scrapeid)
scrapeid - the unique id for this scrape
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||