org.apache.taglibs.scrape
Class ScrapeData

java.lang.Object
  extended byorg.apache.taglibs.scrape.ScrapeData

public class ScrapeData
extends java.lang.Object

ScrapeData - An object used to store data for a scrape, data stored is a scrapeid, begin and end markers, flags, and the results of the scrape

Version:
1.0
Author:
Rich Catlett

Constructor Summary
ScrapeData()
          constructor simply creates an instance of ScrapeData
 
Method Summary
 boolean getanchorsFlag()
          getter method for anchorsflag
 java.lang.String getBegin()
          getter method for the beginning anchor for this scrape
 java.lang.String getEnd()
          getter method for the ending anchor for this scrape
 java.lang.String getResult()
          getter method for result
 boolean getstripFlag()
          getter method for stripflag
 void setanchorsFlag(java.lang.String markers)
          setter method for anchorsflag
 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 setResult(java.lang.String result)
          setter method for result
 void setstripFlag(java.lang.String notags)
          setter method for stripflag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScrapeData

public ScrapeData()
constructor simply creates an instance of ScrapeData

Method Detail

getstripFlag

public final boolean getstripFlag()
getter method for stripflag

Returns:
boolean value of the Boolean object stripflag

setstripFlag

public final void setstripFlag(java.lang.String notags)
setter method for stripflag

Parameters:
notags - a boolean value that determines if tags are kept in the result

getanchorsFlag

public final boolean getanchorsFlag()
getter method for anchorsflag

Returns:
boolean value of anchorsflag

setanchorsFlag

public final void setanchorsFlag(java.lang.String markers)
setter method for anchorsflag

Parameters:
markers - a boolean value that determines if begin and end tags are kept in the result

setBegin

public final void setBegin(java.lang.String begin)
setter method for the beginning anchor for this scrape

Parameters:
begin - anchor for the beginning of this scrape

getBegin

public final java.lang.String getBegin()
getter method for the beginning anchor for this scrape

Returns:
the begin anchor for this scrape

setEnd

public final void setEnd(java.lang.String end)
setter method for the ending anchor for this scrape

Parameters:
end - anchor for the end of this scrape

getEnd

public final java.lang.String getEnd()
getter method for the ending anchor for this scrape

Returns:
the end anchor for this scrpae

setResult

public final void setResult(java.lang.String result)
setter method for result

Parameters:
result - the result of the scrape with this begin and end

getResult

public final java.lang.String getResult()
getter method for result

Returns:
the result of the scrape with this begin and end


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