public class AdrExtractor extends EntityBasedMicroformatExtractor
Extractor.BlindExtractor, Extractor.ContentExtractor, Extractor.TagSoupDOMExtractor
BEGIN_SCRIPT, END_SCRIPT, valueFactory
Constructor and Description |
---|
AdrExtractor() |
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
protected String getBaseClassName()
EntityBasedMicroformatExtractor
getBaseClassName
in class EntityBasedMicroformatExtractor
protected void resetExtractor()
EntityBasedMicroformatExtractor
resetExtractor
in class EntityBasedMicroformatExtractor
protected boolean extractEntity(Node node, ExtractionResult out)
EntityBasedMicroformatExtractor
extractEntity
in class EntityBasedMicroformatExtractor
node
- the DOM node.out
- the extraction result collector.true
if the extraction has produces something, false
otherwise.public ExtractorDescription getDescription()
MicroformatExtractor
getDescription
in interface Extractor<Document>
getDescription
in class MicroformatExtractor
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.