Uses of Class
org.apache.any23.extractor.ExtractionContext
-
Packages that use ExtractionContext Package Description 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.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.rdfa 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.org.apache.any23.filter This package defines specificTripleHandler
s able to filter document and triples that don't respect particular conditions.org.apache.any23.writer This package collects a set ofTripleHandler
decorators and specific RDF formatTripleWriter
implementations. -
-
Uses of ExtractionContext in org.apache.any23.extractor
Methods in org.apache.any23.extractor that return ExtractionContext Modifier and Type Method Description ExtractionContext
ExtractionContext. copy(String localID)
ExtractionContext
ExtractionResultImpl. getExtractionContext()
Methods in org.apache.any23.extractor with parameters of type ExtractionContext Modifier and Type Method Description ExtractionResult
ExtractionResult. openSubResult(ExtractionContext extractionContext)
Open a result nested in the current one.ExtractionResult
ExtractionResultImpl. openSubResult(ExtractionContext context)
void
Extractor. run(ExtractionParameters extractionParameters, ExtractionContext context, Input in, ExtractionResult out)
Executes the extractor.Constructors in org.apache.any23.extractor with parameters of type ExtractionContext Constructor Description ExtractionResultImpl(ExtractionContext context, Extractor<?> extractor, TripleHandler tripleHandler)
-
Uses of ExtractionContext in org.apache.any23.extractor.csv
Methods in org.apache.any23.extractor.csv with parameters of type ExtractionContext Modifier and Type Method Description void
CSVExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, InputStream in, ExtractionResult out)
Executes the extractor. -
Uses of ExtractionContext in org.apache.any23.extractor.html
Methods in org.apache.any23.extractor.html that return ExtractionContext Modifier and Type Method Description ExtractionContext
MicroformatExtractor. getExtractionContext()
Methods in org.apache.any23.extractor.html with parameters of type ExtractionContext Modifier and Type Method Description protected ExtractionResult
MicroformatExtractor. openSubResult(ExtractionContext context)
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 ExtractionContext in org.apache.any23.extractor.microdata
Methods in org.apache.any23.extractor.microdata with parameters of type ExtractionContext 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 ExtractionContext in org.apache.any23.extractor.rdf
Methods in org.apache.any23.extractor.rdf with parameters of type ExtractionContext Modifier and Type Method Description org.eclipse.rdf4j.rio.RDFParser
RDFParserFactory. getFunctionalSyntaxParser(boolean verifyDataType, boolean stopAtFirstError, ExtractionContext extractionContext, ExtractionResult extractionResult)
Returns a new instance of a configured FunctionalSyntaxParser.org.eclipse.rdf4j.rio.RDFParser
RDFParserFactory. getJSONLDParser(boolean verifyDataType, boolean stopAtFirstError, ExtractionContext extractionContext, ExtractionResult extractionResult)
Returns a new instance of a configured SesameJSONLDParser.org.eclipse.rdf4j.rio.RDFParser
RDFParserFactory. getManchesterSyntaxParser(boolean verifyDataType, boolean stopAtFirstError, ExtractionContext extractionContext, ExtractionResult extractionResult)
Returns a new instance of a configured ManchesterSyntaxParser.org.eclipse.rdf4j.rio.RDFParser
RDFParserFactory. getNQuadsParser(boolean verifyDataType, boolean stopAtFirstError, ExtractionContext extractionContext, ExtractionResult extractionResult)
Returns a new instance of a configured NQuadsParser.org.eclipse.rdf4j.rio.RDFParser
RDFParserFactory. getNTriplesParser(boolean verifyDataType, boolean stopAtFirstError, ExtractionContext extractionContext, ExtractionResult extractionResult)
Returns a new instance of a configured NTriplesParser.protected abstract org.eclipse.rdf4j.rio.RDFParser
BaseRDFExtractor. getParser(ExtractionContext extractionContext, ExtractionResult extractionResult)
protected org.eclipse.rdf4j.rio.RDFParser
FunctionalSyntaxExtractor. getParser(ExtractionContext extractionContext, ExtractionResult extractionResult)
protected org.eclipse.rdf4j.rio.RDFParser
JSONLDExtractor. getParser(ExtractionContext extractionContext, ExtractionResult extractionResult)
Deprecated.since 2.4.protected org.eclipse.rdf4j.rio.RDFParser
ManchesterSyntaxExtractor. getParser(ExtractionContext extractionContext, ExtractionResult extractionResult)
protected org.eclipse.rdf4j.rio.RDFParser
NQuadsExtractor. getParser(ExtractionContext extractionContext, ExtractionResult extractionResult)
protected org.eclipse.rdf4j.rio.RDFParser
NTriplesExtractor. getParser(ExtractionContext extractionContext, ExtractionResult extractionResult)
protected org.eclipse.rdf4j.rio.RDFParser
RDFXMLExtractor. getParser(ExtractionContext extractionContext, ExtractionResult extractionResult)
protected org.eclipse.rdf4j.rio.RDFParser
TriXExtractor. getParser(ExtractionContext extractionContext, ExtractionResult extractionResult)
protected org.eclipse.rdf4j.rio.RDFParser
TurtleExtractor. getParser(ExtractionContext extractionContext, ExtractionResult extractionResult)
org.eclipse.rdf4j.rio.RDFParser
RDFParserFactory. getRDFa10Parser(boolean verifyDataType, boolean stopAtFirstError, ExtractionContext extractionContext, ExtractionResult extractionResult)
Returns a new instance of a configured RDFaParser, set to RDFa-1.0 compatibility mode.org.eclipse.rdf4j.rio.RDFParser
RDFParserFactory. getRDFa11Parser(boolean verifyDataType, boolean stopAtFirstError, ExtractionContext extractionContext, ExtractionResult extractionResult)
Returns a new instance of a configured RDFaParser, set to RDFa-1.1 compatibility mode.org.eclipse.rdf4j.rio.RDFParser
RDFParserFactory. getRDFXMLParser(boolean verifyDataType, boolean stopAtFirstError, ExtractionContext extractionContext, ExtractionResult extractionResult)
Returns a new instance of a configured RDFXMLParser.org.eclipse.rdf4j.rio.RDFParser
RDFParserFactory. getTriXParser(boolean verifyDataType, boolean stopAtFirstError, ExtractionContext extractionContext, ExtractionResult extractionResult)
Returns a new instance of a configured TriXParser.org.eclipse.rdf4j.rio.RDFParser
RDFParserFactory. getTurtleParserInstance(boolean verifyDataType, boolean stopAtFirstError, ExtractionContext extractionContext, ExtractionResult extractionResult)
Returns a new instance of a configured TurtleParser.void
BaseRDFExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, InputStream in, ExtractionResult extractionResult)
void
JSONLDExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, InputStream in, ExtractionResult extractionResult)
-
Uses of ExtractionContext in org.apache.any23.extractor.rdfa
Methods in org.apache.any23.extractor.rdfa with parameters of type ExtractionContext Modifier and Type Method Description protected org.eclipse.rdf4j.rio.RDFParser
RDFa11Extractor. getParser(ExtractionContext extractionContext, ExtractionResult extractionResult)
Deprecated.since 2.4.protected org.eclipse.rdf4j.rio.RDFParser
RDFaExtractor. getParser(ExtractionContext extractionContext, ExtractionResult extractionResult)
Deprecated.since 2.4. -
Uses of ExtractionContext in org.apache.any23.extractor.xpath
Methods in org.apache.any23.extractor.xpath with parameters of type ExtractionContext Modifier and Type Method Description void
XPathExtractor. run(ExtractionParameters extractionParameters, ExtractionContext extractionContext, Document in, ExtractionResult out)
-
Uses of ExtractionContext in org.apache.any23.extractor.yaml
Methods in org.apache.any23.extractor.yaml with parameters of type ExtractionContext Modifier and Type Method Description void
YAMLExtractor. run(ExtractionParameters extractionParameters, ExtractionContext context, InputStream in, ExtractionResult out)
-
Uses of ExtractionContext in org.apache.any23.filter
Methods in org.apache.any23.filter with parameters of type ExtractionContext Modifier and Type Method Description void
ExtractionContextBlocker. blockContext(ExtractionContext context)
void
ExtractionContextBlocker. closeContext(ExtractionContext context)
void
IgnoreAccidentalRDFa. closeContext(ExtractionContext context)
void
IgnoreTitlesOfEmptyDocuments. closeContext(ExtractionContext context)
void
ExtractionContextBlocker. openContext(ExtractionContext context)
void
IgnoreAccidentalRDFa. openContext(ExtractionContext context)
void
IgnoreTitlesOfEmptyDocuments. openContext(ExtractionContext context)
void
ExtractionContextBlocker. receiveNamespace(String prefix, String uri, ExtractionContext context)
void
IgnoreAccidentalRDFa. receiveNamespace(String prefix, String uri, ExtractionContext context)
void
IgnoreTitlesOfEmptyDocuments. receiveNamespace(String prefix, String uri, ExtractionContext context)
void
ExtractionContextBlocker. receiveTriple(org.eclipse.rdf4j.model.Resource s, org.eclipse.rdf4j.model.IRI p, org.eclipse.rdf4j.model.Value o, org.eclipse.rdf4j.model.IRI g, ExtractionContext context)
void
IgnoreAccidentalRDFa. receiveTriple(org.eclipse.rdf4j.model.Resource s, org.eclipse.rdf4j.model.IRI p, org.eclipse.rdf4j.model.Value o, org.eclipse.rdf4j.model.IRI g, ExtractionContext context)
void
IgnoreTitlesOfEmptyDocuments. receiveTriple(org.eclipse.rdf4j.model.Resource s, org.eclipse.rdf4j.model.IRI p, org.eclipse.rdf4j.model.Value o, org.eclipse.rdf4j.model.IRI g, ExtractionContext context)
void
ExtractionContextBlocker. unblockContext(ExtractionContext context)
-
Uses of ExtractionContext in org.apache.any23.writer
Methods in org.apache.any23.writer with parameters of type ExtractionContext Modifier and Type Method Description void
BenchmarkTripleHandler. closeContext(ExtractionContext context)
void
CompositeTripleHandler. closeContext(ExtractionContext context)
void
CountingTripleHandler. closeContext(ExtractionContext context)
void
LoggingTripleHandler. closeContext(ExtractionContext context)
void
RDFWriterTripleHandler. closeContext(ExtractionContext context)
void
ReportingTripleHandler. closeContext(ExtractionContext context)
void
RepositoryWriter. closeContext(ExtractionContext context)
void
TripleHandler. closeContext(ExtractionContext context)
Informs the handler that no more triples will come from a previously opened context.void
TripleWriterHandler. closeContext(ExtractionContext context)
Writers may override this method to handle a "closeContext" extraction event.void
BenchmarkTripleHandler. openContext(ExtractionContext context)
void
CompositeTripleHandler. openContext(ExtractionContext context)
void
CountingTripleHandler. openContext(ExtractionContext context)
void
LoggingTripleHandler. openContext(ExtractionContext context)
void
RDFWriterTripleHandler. openContext(ExtractionContext context)
void
ReportingTripleHandler. openContext(ExtractionContext context)
void
RepositoryWriter. openContext(ExtractionContext context)
void
TripleHandler. openContext(ExtractionContext context)
Informs the handler that a new context has been established.void
TripleWriterHandler. openContext(ExtractionContext context)
Writers may override this method to handle an "openContext" extraction event.void
BenchmarkTripleHandler. receiveNamespace(String prefix, String uri, ExtractionContext context)
void
CompositeTripleHandler. receiveNamespace(String prefix, String uri, ExtractionContext context)
void
CountingTripleHandler. receiveNamespace(String prefix, String uri, ExtractionContext context)
void
LoggingTripleHandler. receiveNamespace(String prefix, String uri, ExtractionContext context)
void
ReportingTripleHandler. receiveNamespace(String prefix, String uri, ExtractionContext context)
void
RepositoryWriter. receiveNamespace(String prefix, String uri, ExtractionContext context)
void
TripleHandler. receiveNamespace(String prefix, String uri, ExtractionContext context)
Invoked with a currently open context, notifies the detection of a namespace.void
TripleWriterHandler. receiveNamespace(String prefix, String uri, ExtractionContext context)
Writers may override this method to handle a "receiveNamespace" extraction event.void
BenchmarkTripleHandler. receiveTriple(org.eclipse.rdf4j.model.Resource s, org.eclipse.rdf4j.model.IRI p, org.eclipse.rdf4j.model.Value o, org.eclipse.rdf4j.model.IRI g, ExtractionContext context)
void
CompositeTripleHandler. receiveTriple(org.eclipse.rdf4j.model.Resource s, org.eclipse.rdf4j.model.IRI p, org.eclipse.rdf4j.model.Value o, org.eclipse.rdf4j.model.IRI g, ExtractionContext context)
void
CountingTripleHandler. receiveTriple(org.eclipse.rdf4j.model.Resource s, org.eclipse.rdf4j.model.IRI p, org.eclipse.rdf4j.model.Value o, org.eclipse.rdf4j.model.IRI g, ExtractionContext context)
void
LoggingTripleHandler. receiveTriple(org.eclipse.rdf4j.model.Resource s, org.eclipse.rdf4j.model.IRI p, org.eclipse.rdf4j.model.Value o, org.eclipse.rdf4j.model.IRI g, ExtractionContext context)
void
ReportingTripleHandler. receiveTriple(org.eclipse.rdf4j.model.Resource s, org.eclipse.rdf4j.model.IRI p, org.eclipse.rdf4j.model.Value o, org.eclipse.rdf4j.model.IRI g, ExtractionContext context)
void
RepositoryWriter. receiveTriple(org.eclipse.rdf4j.model.Resource s, org.eclipse.rdf4j.model.IRI p, org.eclipse.rdf4j.model.Value o, org.eclipse.rdf4j.model.IRI g, ExtractionContext context)
void
TripleHandler. receiveTriple(org.eclipse.rdf4j.model.Resource s, org.eclipse.rdf4j.model.IRI p, org.eclipse.rdf4j.model.Value o, org.eclipse.rdf4j.model.IRI g, ExtractionContext context)
Invoked with a currently open context, notifies the detection of a triple.void
TripleWriterHandler. receiveTriple(org.eclipse.rdf4j.model.Resource s, org.eclipse.rdf4j.model.IRI p, org.eclipse.rdf4j.model.Value o, org.eclipse.rdf4j.model.IRI g, ExtractionContext context)
Writers may override this method to handle a "receiveTriple" extraction event.
-