Package org.apache.any23.extractor.html
Class XFNExtractor
- java.lang.Object
- 
- org.apache.any23.extractor.html.XFNExtractor
 
- 
- All Implemented Interfaces:
- Extractor<Document>,- Extractor.TagSoupDOMExtractor
 
 public class XFNExtractor extends Object implements Extractor.TagSoupDOMExtractor Extractor for the XFN microformat.- Author:
- Richard Cyganiak (richard@cyganiak.de)
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.apache.any23.extractor.ExtractorExtractor.BlindExtractor, Extractor.ContentExtractor, Extractor.TagSoupDOMExtractor
 
- 
 - 
Constructor SummaryConstructors Constructor Description XFNExtractor()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtractorDescriptiongetDescription()Returns aExtractorDescriptionof this extractor.voidrun(ExtractionParameters extractionParameters, ExtractionContext extractionContext, Document in, ExtractionResult out)Executes the extractor.
 
- 
- 
- 
Method Detail- 
getDescriptionpublic ExtractorDescription getDescription() Description copied from interface:ExtractorReturns aExtractorDescriptionof this extractor.- Specified by:
- getDescriptionin interface- Extractor<Document>
- Returns:
- the object representing the extractor description.
 
 - 
runpublic void run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, Document in, ExtractionResult out) throws IOException, ExtractionException Description copied from interface:ExtractorExecutes the extractor. Will be invoked only once, extractors are not reusable.- Specified by:
- runin interface- Extractor<Document>
- Parameters:
- extractionParameters- the parameters to be applied during the extraction.
- extractionContext- The document context.
- in- The extractor input data.
- out- the collector for the extracted data.
- Throws:
- IOException- On error while reading from the input stream.
- ExtractionException- On other error, such as parse errors.
 
 
- 
 
-