Uses of Class
org.apache.any23.extractor.ExtractionException
-
Packages that use ExtractionException Package Description org.apache.any23 The Any23 root package defines theAny23
library facade and auxiliary classes.org.apache.any23.cli This package contains some command-line utilities which allow users to use the main Any23 features via commandline shell.org.apache.any23.extractor This package contains classes and interfaces modeling theExtractor
API.org.apache.any23.extractor.csv org.apache.any23.extractor.html All the variousExtractor
needed to distill RDF from Microformats in HTML pages are contained in this package.org.apache.any23.extractor.html.microformats2 All the variousExtractor
needed to distill RDF from Microformats in HTML pages are contained in this package.org.apache.any23.extractor.microdata This package provides classes for dealing with Microdata extraction.org.apache.any23.extractor.rdf This package contains the concrete implementations (and utilities classes) to perform the extraction from various RDF serialization formats.org.apache.any23.extractor.xpath This package provides an XPath extractor able to generate RDF statements from any HTML page on the basis of a set of specified rules and a list of statement templates.org.apache.any23.extractor.yaml This package provides an YAML extractor able to generate RDF statements from any YAML files. -
-
Uses of ExtractionException in org.apache.any23
Methods in org.apache.any23 that throw ExtractionException Modifier and Type Method Description ExtractionReport
Any23. extract(File file, TripleHandler outputHandler)
Performs metadata extraction from the content of the givenfile
sending the generated events to the specifiedoutputHandler
.ExtractionReport
Any23. extract(String in, String documentIRI, String contentType, String encoding, TripleHandler outputHandler)
Performs metadata extraction on thein
string associated to thedocumentIRI
IRI, declaringcontentType
andencoding
.ExtractionReport
Any23. extract(String in, String documentIRI, TripleHandler outputHandler)
Performs metadata extraction on thein
string associated to thedocumentIRI
IRI, sending the generated events to the specifiedoutputHandler
.ExtractionReport
Any23. extract(String documentIRI, TripleHandler outputHandler)
Performs metadata extraction from the content of the givendocumentIRI
sending the generated events to the specifiedoutputHandler
.ExtractionReport
Any23. extract(ExtractionParameters eps, String documentIRI, TripleHandler outputHandler)
Performs metadata extraction from the content of the givendocumentIRI
sending the generated events to the specifiedoutputHandler
.ExtractionReport
Any23. extract(ExtractionParameters eps, DocumentSource in, TripleHandler outputHandler)
Performs metadata extraction from the content of the givenin
document source, sending the generated events to the specifiedoutputHandler
.ExtractionReport
Any23. extract(ExtractionParameters eps, DocumentSource in, TripleHandler outputHandler, String encoding)
Performs metadata extraction from the content of the givenin
document source, sending the generated events to the specifiedoutputHandler
.ExtractionReport
Any23. extract(DocumentSource in, TripleHandler outputHandler)
Performs metadata extraction from the content of the givenin
document source, sending the generated events to the specifiedoutputHandler
.ExtractionReport
Any23. extract(DocumentSource in, TripleHandler outputHandler, String encoding)
Performs metadata extraction from the content of the givenin
document source, sending the generated events to the specifiedoutputHandler
. -
Uses of ExtractionException in org.apache.any23.cli
Methods in org.apache.any23.cli that throw ExtractionException Modifier and Type Method Description void
ExtractorDocumentation. printExampleOutput(String extractorName, ExtractorRegistry registry)
Prints an output example for the given extractor.void
ExtractorDocumentation. printReport(ExtractorRegistry registry)
Prints a complete report on all the available extractors. -
Uses of ExtractionException in org.apache.any23.extractor
Methods in org.apache.any23.extractor that throw ExtractionException Modifier and Type Method Description String
ExampleInputOutput. getExampleOutput()
void
Extractor. run(ExtractionParameters extractionParameters, ExtractionContext context, Input in, ExtractionResult out)
Executes the extractor.SingleDocumentExtractionReport
SingleDocumentExtraction. run()
Triggers the execution of all theExtractor
registered to this class using the default extraction parameters.SingleDocumentExtractionReport
SingleDocumentExtraction. run(ExtractionParameters extractionParameters)
Triggers the execution of all theExtractor
registered to this class using the specified extraction parameters. -
Uses of ExtractionException in org.apache.any23.extractor.csv
Methods in org.apache.any23.extractor.csv that throw ExtractionException Modifier and Type Method Description void
CSVExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, InputStream in, ExtractionResult out)
Executes the extractor. -
Uses of ExtractionException in org.apache.any23.extractor.html
Methods in org.apache.any23.extractor.html that throw ExtractionException Modifier and Type Method Description boolean
EntityBasedMicroformatExtractor. extract()
protected boolean
HCalendarExtractor. extract()
protected abstract boolean
MicroformatExtractor. extract()
Performs the extraction of the data and writes them to the model.protected abstract boolean
EntityBasedMicroformatExtractor. extractEntity(Node node, ExtractionResult out)
Extracts an entity from a DOM node.protected boolean
HCardExtractor. extractEntity(Node node, ExtractionResult out)
protected boolean
HListingExtractor. extractEntity(Node node, ExtractionResult out)
protected boolean
HRecipeExtractor. extractEntity(Node node, ExtractionResult out)
protected boolean
HReviewAggregateExtractor. extractEntity(Node node, ExtractionResult out)
protected boolean
HReviewExtractor. extractEntity(Node node, ExtractionResult out)
protected boolean
SpeciesExtractor. extractEntity(Node node, ExtractionResult out)
Extracts an entity from a DOM node.org.eclipse.rdf4j.model.IRI
HTMLDocument. resolveIRI(String uri)
void
EmbeddedJSONLDExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, Document in, ExtractionResult out)
Executes the extractor.void
HeadLinkExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, Document in, ExtractionResult out)
void
HTMLMetaExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, Document in, ExtractionResult out)
Executes the extractor.void
ICBMExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, Document in, ExtractionResult out)
void
LicenseExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, Document in, ExtractionResult out)
void
MicroformatExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, Document in, ExtractionResult out)
void
TitleExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, Document in, ExtractionResult out)
void
TurtleHTMLExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, Document in, ExtractionResult out)
void
XFNExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, Document in, ExtractionResult out)
-
Uses of ExtractionException in org.apache.any23.extractor.html.microformats2
Methods in org.apache.any23.extractor.html.microformats2 that throw ExtractionException Modifier and Type Method Description protected boolean
HAdrExtractor. extractEntity(Node node, ExtractionResult out)
protected boolean
HCardExtractor. extractEntity(Node node, ExtractionResult out)
protected boolean
HEntryExtractor. extractEntity(Node node, ExtractionResult out)
protected boolean
HEventExtractor. extractEntity(Node node, ExtractionResult out)
protected boolean
HItemExtractor. extractEntity(Node node, ExtractionResult out)
protected boolean
HProductExtractor. extractEntity(Node node, ExtractionResult out)
protected boolean
HRecipeExtractor. extractEntity(Node node, ExtractionResult out)
protected boolean
HResumeExtractor. extractEntity(Node node, ExtractionResult out)
org.eclipse.rdf4j.model.Resource
HCardExtractor. extractEntityAsEmbeddedProperty(HTMLDocument fragment, org.eclipse.rdf4j.model.BNode card, ExtractionResult out)
org.eclipse.rdf4j.model.Resource
HEventExtractor. extractEntityAsEmbeddedProperty(HTMLDocument fragment, org.eclipse.rdf4j.model.BNode event, ExtractionResult out)
-
Uses of ExtractionException in org.apache.any23.extractor.microdata
Methods in org.apache.any23.extractor.microdata that throw ExtractionException Modifier and Type Method Description void
MicrodataExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, Document in, ExtractionResult out)
This extraction performs the Microdata to RDF conversion algorithm. -
Uses of ExtractionException in org.apache.any23.extractor.rdf
Methods in org.apache.any23.extractor.rdf that throw ExtractionException Modifier and Type Method Description void
BaseRDFExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, InputStream in, ExtractionResult extractionResult)
void
JSONLDExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, InputStream in, ExtractionResult extractionResult)
-
Uses of ExtractionException in org.apache.any23.extractor.xpath
Methods in org.apache.any23.extractor.xpath that throw ExtractionException Modifier and Type Method Description void
XPathExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, Document in, ExtractionResult out)
-
Uses of ExtractionException in org.apache.any23.extractor.yaml
Methods in org.apache.any23.extractor.yaml that throw ExtractionException Modifier and Type Method Description void
YAMLExtractor. run(ExtractionParameters extractionParameters, ExtractionContext context, InputStream in, ExtractionResult out)
-