org.apache.taglibs.scrape
Class UrlTag

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

public class UrlTag
extends javax.servlet.jsp.tagext.BodyTagSupport

UrlTag - JSP tag url is used for dynamically setting the url of the page that is going to be scraped by the tag library it is necessary the tag be nested within a page tag.

JSP Tag Lib Descriptor

 <name>url</name>
 <tagclass>org.apache.taglibs.scrape.UrlTag</tagclass>
 <bodycontent>JSP</bodycontent>
 <info>
     Does the scraping of the page named in the parent page tag
 </info>
 

Version:
1.0
Author:
Rich Catlett
See Also:
ScrapeData, Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
UrlTag()
           
 
Method Summary
 int doAfterBody()
          implementation of the method from the tag interface that tells the JSP page what to do after the body of this tag
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

UrlTag

public UrlTag()
Method Detail

doAfterBody

public final int doAfterBody()
                      throws javax.servlet.jsp.JspException
implementation of the method from the tag interface that tells the JSP page what to do after the body of this tag

Returns:
SKIP_BODY int telling the tag handler to not evaluate the body of this tag again
Throws:
JSPException - thrown when an error occurs while processing the body of this method
javax.servlet.jsp.JspException


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