org.apache.taglibs.scrape
Class ResultTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.apache.taglibs.scrape.ResultTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class ResultTag
extends javax.servlet.jsp.tagext.TagSupport

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>
 

Version:
1.0
Author:
Rich Catlett
See Also:
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

ResultTag

public ResultTag()
Method Detail

doEndTag

public final int doEndTag()
                   throws javax.servlet.jsp.JspException
implementation of method from the Tag interface that tells the JSP what to do upon encountering the end tag for this tag

Returns:
EVAL_PAGE int telling the tag handler that the rest of the jsp page is to be evaluated
Throws:
JSPException - thrown when error occurs in processing the body of this method
javax.servlet.jsp.JspException

setScrape

public final void setScrape(java.lang.String scrapeid)
setter method for scrapeid

Parameters:
scrapeid - the unique id for this scrape


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.