|
|||||||||
| 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.ScrapeTag
public class ScrapeTag
ScrapeTag - JSP tag scrape is used for setting the begin and end anchors of a scrape to be preformed by the parent tag of this tag, PageTag.
JSP Tag Lib Descriptor
<name>scrape</name>
<tagclass>org.apache.taglibs.scrape.ScrapeTag</tagclass>
<bodycontent>empty</bodycontent>
<info>
Does the scraping of the page named in the parent page tag
</info>
<attribute>
<name>id</name>
<required>true</required>
<rtexprval>false</rtexprval>
</attribute>
<attribute>
<name>begin</name>
<required>true</required>
<rtexprval>false</rtexprval>
</attribute>
<attribute>
<name>end</name>
<required>true</required>
<rtexprval>false</rtexprval>
</attribute>
<attribute>
<name>strip</name>
<required>false</required>
<rtexprval>false</rtexprval>
</attribute>
<attribute>
<name>anchors</name>
<required>false</required>
<rtexprval>false</rtexprval>
</attribute>
ScrapeData,
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 | |
|---|---|
ScrapeTag()
|
|
| 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 |
setAnchors(java.lang.String anchors)
setter method for anchors |
void |
setBegin(java.lang.String begin)
setter method for the beginning anchor for this scrape |
void |
setEnd(java.lang.String end)
setter method for the ending anchor for this scrape |
void |
setStrip(java.lang.String strip)
setter method for strip |
| 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 ScrapeTag()
| 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 setBegin(java.lang.String begin)
begin - anchor for the beginning of this scrapepublic final void setEnd(java.lang.String end)
end - anchor for the end of this scrapepublic final void setAnchors(java.lang.String anchors)
anchors - value to determine if anchors are included in resultpublic final void setStrip(java.lang.String strip)
strip - value determines if tags are to be removed from result
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||