## Uses of Interface
org.apache.any23.writer.TripleHandler

- Packages that use TripleHandler
  Package | Description
  --- | ---
  org.apache.any23 | The Any23 root package defines the `Any23` library facade and auxiliary classes.
  org.apache.any23.extractor | This package contains classes and interfaces modeling the `Extractor` API.
  org.apache.any23.filter | This package defines specific `TripleHandler`s able to filter document and triples that don't respect particular conditions.
  org.apache.any23.writer | This package collects a set of `TripleHandler` decorators and specific RDF format `TripleWriter` implementations.

- - ### Uses of TripleHandler in org.apache.any23

    Methods in org.apache.any23 with parameters of type TripleHandler
    Modifier and Type | Method | Description
    --- | --- | ---
    `ExtractionReport` | Any23.`extract​(File file, TripleHandler outputHandler)` | Performs metadata extraction from the content of the given `file` sending the generated events to the specified `outputHandler`.
    `ExtractionReport` | Any23.`extract​(String in, String documentIRI, String contentType, String encoding, TripleHandler outputHandler)` | Performs metadata extraction on the `in` string associated to the `documentIRI` IRI, declaring `contentType` and `encoding`.
    `ExtractionReport` | Any23.`extract​(String in, String documentIRI, TripleHandler outputHandler)` | Performs metadata extraction on the `in` string associated to the `documentIRI` IRI, sending the generated events to the specified `outputHandler`.
    `ExtractionReport` | Any23.`extract​(String documentIRI, TripleHandler outputHandler)` | Performs metadata extraction from the content of the given `documentIRI` sending the generated events to the specified `outputHandler`.
    `ExtractionReport` | Any23.`extract​(ExtractionParameters eps, String documentIRI, TripleHandler outputHandler)` | Performs metadata extraction from the content of the given `documentIRI` sending the generated events to the specified `outputHandler`.
    `ExtractionReport` | Any23.`extract​(ExtractionParameters eps, DocumentSource in, TripleHandler outputHandler)` | Performs metadata extraction from the content of the given `in` document source, sending the generated events to the specified `outputHandler`.
    `ExtractionReport` | Any23.`extract​(ExtractionParameters eps, DocumentSource in, TripleHandler outputHandler, String encoding)` | Performs metadata extraction from the content of the given `in` document source, sending the generated events to the specified `outputHandler`.
    `ExtractionReport` | Any23.`extract​(DocumentSource in, TripleHandler outputHandler)` | Performs metadata extraction from the content of the given `in` document source, sending the generated events to the specified `outputHandler`.
    `ExtractionReport` | Any23.`extract​(DocumentSource in, TripleHandler outputHandler, String encoding)` | Performs metadata extraction from the content of the given `in` document source, sending the generated events to the specified `outputHandler`.

  - ### 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 the `DefaultConfiguration`.

  - ### Uses of TripleHandler in org.apache.any23.filter

    Classes in org.apache.any23.filter that implement TripleHandler
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ExtractionContextBlocker` | A wrapper around a `TripleHandler` that can block and unblock calls to the handler, either for the entire document, or for individual `ExtractionContext`s.
    `class` | `IgnoreAccidentalRDFa` | A `TripleHandler` that suppresses output of the RDFa parser if the document only contains "accidental" RDFa, like stylesheet links and other non-RDFa uses of HTML's
    `class` | `IgnoreTitlesOfEmptyDocuments` | A `TripleHandler` that suppresses output of the `TitleExtractor` unless 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
    --- | --- | ---
    `interface` | `FormatWriter` | Base interface used for the definition of RDF format writers.

    Classes in org.apache.any23.writer that implement TripleHandler
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `BenchmarkTripleHandler` | `TripleHandler` decorator useful to perform benchmarking.
    `class` | `CompositeTripleHandler` | A `TripleHandler` multi decorator, that wraps zero or more other triple handlers and dispatches all events to each of them.
    `class` | `CountingTripleHandler` | A simple `TripleHandler` that merely counts the number of triples it has received.
    `class` | `JSONLDWriter` | Implementation of JSON-LD `TripleWriter`.
    `class` | `JSONWriter` | Deprecated. since 2.3.
    `class` | `LoggingTripleHandler` | Triple handler decorator useful for logging purposes.
    `class` | `NQuadsWriter` | Implementation of an N-Quads `TripleWriter`.
    `class` | `NTriplesWriter` | Implementation of an N-Triples `TripleWriter`.
    `class` | `RDFWriterTripleHandler` | A `TripleHandler` that writes triples to a Sesame `RDFWriter`, eg for serialization using one of Sesame's writers.
    `class` | `RDFXMLWriter` | RDF/XML `TripleWriter` implementation.
    `class` | `ReportingTripleHandler` | A `TripleHandler` that collects various information about the extraction process, such as the extractors used and the total number of triples.
    `class` | `RepositoryWriter` | An RDF4J repository triple writer.
    `class` | `TripleWriterHandler` | This class connects a `TripleHandler` to a `TripleWriter` by writing received data.
    `class` | `TriXWriter` | TriX `TripleWriter` implementation.
    `class` | `TurtleWriter` | N3 notation `TripleWriter` implementation.
    `class` | `URIListWriter` | This 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
    --- | --- | ---
    `TripleHandler` | DecoratingWriterFactory.`getTripleWriter​(TripleHandler delegate, Settings settings)` |
    `TripleHandler` | JSONLDWriterFactory.`getTripleWriter​(OutputStream out, Settings settings)` |
    `TripleHandler` | JSONWriterFactory.`getTripleWriter​(OutputStream out, Settings settings)` | Deprecated.
    `TripleHandler` | NQuadsWriterFactory.`getTripleWriter​(OutputStream os, Settings settings)` |
    `TripleHandler` | NTriplesWriterFactory.`getTripleWriter​(OutputStream os, Settings settings)` |
    `TripleHandler` | RDFXMLWriterFactory.`getTripleWriter​(OutputStream os, Settings settings)` |
    `TripleHandler` | TripleWriterFactory.`getTripleWriter​(OutputStream out, Settings settings)` |
    `TripleHandler` | TriXWriterFactory.`getTripleWriter​(OutputStream os, Settings settings)` |
    `TripleHandler` | TurtleWriterFactory.`getTripleWriter​(OutputStream os, Settings settings)` |
    `TripleHandler` | URIListWriterFactory.`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
    --- | --- | ---
    `void` | CompositeTripleHandler.`addChild​(TripleHandler child)` | Adds a decorated handler.
    `TripleHandler` | DecoratingWriterFactory.`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.