Uses of Interface
org.apache.any23.writer.TripleHandler
-
Packages that use TripleHandler Package Description org.apache.any23 The Any23 root package defines theAny23library facade and auxiliary classes.org.apache.any23.extractor This package contains classes and interfaces modeling theExtractorAPI.org.apache.any23.filter This package defines specificTripleHandlers able to filter document and triples that don't respect particular conditions.org.apache.any23.writer This package collects a set ofTripleHandlerdecorators and specific RDF formatTripleWriterimplementations. -
-
Uses of TripleHandler in org.apache.any23
Methods in org.apache.any23 with parameters of type TripleHandler Modifier and Type Method Description ExtractionReportAny23. extract(File file, TripleHandler outputHandler)Performs metadata extraction from the content of the givenfilesending the generated events to the specifiedoutputHandler.ExtractionReportAny23. extract(String in, String documentIRI, String contentType, String encoding, TripleHandler outputHandler)Performs metadata extraction on theinstring associated to thedocumentIRIIRI, declaringcontentTypeandencoding.ExtractionReportAny23. extract(String in, String documentIRI, TripleHandler outputHandler)Performs metadata extraction on theinstring associated to thedocumentIRIIRI, sending the generated events to the specifiedoutputHandler.ExtractionReportAny23. extract(String documentIRI, TripleHandler outputHandler)Performs metadata extraction from the content of the givendocumentIRIsending the generated events to the specifiedoutputHandler.ExtractionReportAny23. extract(ExtractionParameters eps, String documentIRI, TripleHandler outputHandler)Performs metadata extraction from the content of the givendocumentIRIsending the generated events to the specifiedoutputHandler.ExtractionReportAny23. extract(ExtractionParameters eps, DocumentSource in, TripleHandler outputHandler)Performs metadata extraction from the content of the givenindocument source, sending the generated events to the specifiedoutputHandler.ExtractionReportAny23. extract(ExtractionParameters eps, DocumentSource in, TripleHandler outputHandler, String encoding)Performs metadata extraction from the content of the givenindocument source, sending the generated events to the specifiedoutputHandler.ExtractionReportAny23. extract(DocumentSource in, TripleHandler outputHandler)Performs metadata extraction from the content of the givenindocument source, sending the generated events to the specifiedoutputHandler.ExtractionReportAny23. extract(DocumentSource in, TripleHandler outputHandler, String encoding)Performs metadata extraction from the content of the givenindocument source, sending the generated events to the specifiedoutputHandler. -
Uses of TripleHandler in org.apache.any23.extractor
Constructors in org.apache.any23.extractor with parameters of type TripleHandler Constructor Description ExtractionResultImpl(ExtractionContext context, Extractor<?> extractor, TripleHandler tripleHandler)SingleDocumentExtraction(Configuration configuration, DocumentSource in, ExtractorFactory<?> factory, TripleHandler output)Builds an extractor by the specification of document source, extractors factory and output triple handler.SingleDocumentExtraction(Configuration configuration, DocumentSource in, ExtractorGroup extractors, TripleHandler output)Builds an extractor by the specification of document source, list of extractors and output triple handler.SingleDocumentExtraction(DocumentSource in, ExtractorFactory<?> factory, TripleHandler output)Builds an extractor by the specification of document source, extractors factory and output triple handler, using theDefaultConfiguration. -
Uses of TripleHandler in org.apache.any23.filter
Classes in org.apache.any23.filter that implement TripleHandler Modifier and Type Class Description classExtractionContextBlockerA wrapper around aTripleHandlerthat can block and unblock calls to the handler, either for the entire document, or for individualExtractionContexts.classIgnoreAccidentalRDFaATripleHandlerthat suppresses output of the RDFa parser if the document only contains "accidental" RDFa, like stylesheet links and other non-RDFa uses of HTML'sclassIgnoreTitlesOfEmptyDocumentsATripleHandlerthat suppresses output of theTitleExtractorunless some other triples could be parsed from the document.Constructors in org.apache.any23.filter with parameters of type TripleHandler Constructor Description ExtractionContextBlocker(TripleHandler wrapped)IgnoreAccidentalRDFa(TripleHandler wrapped)IgnoreAccidentalRDFa(TripleHandler wrapped, boolean alwaysSuppressCSSTriples)Constructor.IgnoreTitlesOfEmptyDocuments(TripleHandler wrapped) -
Uses of TripleHandler in org.apache.any23.writer
Subinterfaces of TripleHandler in org.apache.any23.writer Modifier and Type Interface Description interfaceFormatWriterBase interface used for the definition of RDF format writers.Classes in org.apache.any23.writer that implement TripleHandler Modifier and Type Class Description classBenchmarkTripleHandlerTripleHandlerdecorator useful to perform benchmarking.classCompositeTripleHandlerATripleHandlermulti decorator, that wraps zero or more other triple handlers and dispatches all events to each of them.classCountingTripleHandlerA simpleTripleHandlerthat merely counts the number of triples it has received.classJSONLDWriterImplementation of JSON-LDTripleWriter.classJSONWriterDeprecated.since 2.3.classLoggingTripleHandlerTriple handler decorator useful for logging purposes.classNQuadsWriterImplementation of an N-QuadsTripleWriter.classNTriplesWriterImplementation of an N-TriplesTripleWriter.classRDFWriterTripleHandlerATripleHandlerthat writes triples to a SesameRDFWriter, eg for serialization using one of Sesame's writers.classRDFXMLWriterRDF/XMLTripleWriterimplementation.classReportingTripleHandlerATripleHandlerthat collects various information about the extraction process, such as the extractors used and the total number of triples.classRepositoryWriterAn RDF4J repository triple writer.classTripleWriterHandlerThis class connects aTripleHandlerto aTripleWriterby writing received data.classTriXWriterTriXTripleWriterimplementation.classTurtleWriterN3 notationTripleWriterimplementation.classURIListWriterThis writer simply produces a list of unique IRI present in the subject or in the object of every single extracted RDF Statement.Methods in org.apache.any23.writer that return TripleHandler Modifier and Type Method Description TripleHandlerDecoratingWriterFactory. getTripleWriter(TripleHandler delegate, Settings settings)TripleHandlerJSONLDWriterFactory. getTripleWriter(OutputStream out, Settings settings)TripleHandlerJSONWriterFactory. getTripleWriter(OutputStream out, Settings settings)Deprecated.TripleHandlerNQuadsWriterFactory. getTripleWriter(OutputStream os, Settings settings)TripleHandlerNTriplesWriterFactory. getTripleWriter(OutputStream os, Settings settings)TripleHandlerRDFXMLWriterFactory. getTripleWriter(OutputStream os, Settings settings)TripleHandlerTripleWriterFactory. getTripleWriter(OutputStream out, Settings settings)TripleHandlerTriXWriterFactory. getTripleWriter(OutputStream os, Settings settings)TripleHandlerTurtleWriterFactory. getTripleWriter(OutputStream os, Settings settings)TripleHandlerURIListWriterFactory. getTripleWriter(OutputStream os, Settings settings)Methods in org.apache.any23.writer that return types with arguments of type TripleHandler Modifier and Type Method Description Collection<TripleHandler>CompositeTripleHandler. getChilds()Methods in org.apache.any23.writer with parameters of type TripleHandler Modifier and Type Method Description voidCompositeTripleHandler. addChild(TripleHandler child)Adds a decorated handler.TripleHandlerDecoratingWriterFactory. getTripleWriter(TripleHandler delegate, Settings settings)Constructors in org.apache.any23.writer with parameters of type TripleHandler Constructor Description BenchmarkTripleHandler(TripleHandler tripleHandler)Constructor.LoggingTripleHandler(TripleHandler tripleHandler, PrintWriter destination)ReportingTripleHandler(TripleHandler wrapped)Constructor parameters in org.apache.any23.writer with type arguments of type TripleHandler Constructor Description CompositeTripleHandler(Collection<TripleHandler> children)Constructor with initial list of decorated handlers.
-