public class SpeciesExtractor extends EntityBasedMicroformatExtractor
WO
Extractor.BlindExtractor, Extractor.ContentExtractor, Extractor.TagSoupDOMExtractor
BEGIN_SCRIPT, END_SCRIPT, valueFactory
Constructor and Description |
---|
SpeciesExtractor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
extractEntity(Node node,
ExtractionResult out)
Extracts an entity from a DOM node.
|
protected String |
getBaseClassName()
Returns the base class name for the extractor.
|
ExtractorDescription |
getDescription()
Returns the description of this extractor.
|
protected void |
resetExtractor()
Resets the internal status of the extractor to prepare it to a new extraction section.
|
extract, getBlankNodeFor
addBNodeProperty, addBNodeProperty, addURIProperty, conditionallyAddLiteralProperty, conditionallyAddResourceProperty, conditionallyAddStringProperty, fixLink, fixLink, getCurrentExtractionResult, getDocumentURI, getExtractionContext, getHTMLDocument, includes, openSubResult, run
public ExtractorDescription getDescription()
getDescription
in interface Extractor<Document>
getDescription
in class MicroformatExtractor
protected String getBaseClassName()
getBaseClassName
in class EntityBasedMicroformatExtractor
protected void resetExtractor()
resetExtractor
in class EntityBasedMicroformatExtractor
protected boolean extractEntity(Node node, ExtractionResult out) throws ExtractionException
extractEntity
in class EntityBasedMicroformatExtractor
node
- the DOM node.out
- the extraction result collector.true
if the extraction has produces something, false
otherwise.ExtractionException
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.