Core APIs for reading and writing RDF data
- Michael Grove
Interface Summary Interface Description DatatypeHandlerAn interface defining methods related to verification and normalization of typed literals and datatype IRIs. FileFormatRepresents the format of a file or stream, such as XML or JSON. LanguageHandlerAn interface defining methods related to verification and normalization of language tags. LineSupplier.InputStreamSupplier RDFFormatRepresents the serialization used for RDF. RDFFormat.BinaryRDFFormatMarker interface for an
RDFFormatwhose serialization is binary rather than textual.
RDFHandlerInterface for consuming RDF RDFParserAn RDF Parser. RDFWriterA writer to serialize
RDF statementsin a particular RDF format.
RDFWriterFactoryFactory interface for creating instances of the
Class Summary Class Description AbstractRDFHandler CollectingRDFHandler<T> CompressedRDFFormatClass to represent the format of serialized RDF that is also compressed DelegatingRDFHandler FileFormatImplDefault implementation of
RDFHandlerbase implementation that will decorate a base handler
RDFWriterbase for decorating another writer
IOParserContextExtended parser state that wraps the stream to be parsed to provide common IO operations for most of the basic text RDF formats. LineBatchBatch of consecutive lines read from a stream. LineSupplierA utility class that reads lines from a stream in one thread and supplies the output as
batchesfor multiple threads to consume.
LineSupplierParserContext ParserContextObject to hold the current state of the parsing operation, parsing configuration, and
RDFByteSource Deprecated. RDFFormatsUtilities for
RDFHandlersUtility methods for working with
RDFHandlers.DefaultRDFHandler RDFHandlers.GraphBuilder RDFParsersUtilities for working with
RDFWritersUtility methods for working with
RDFWriters.RDFWriterConfigWrite builder for
SupportedFileFormats<T extends FileFormat>Utility class to keep a list of
formatsthat are supported by an application.
RDFHandlerthat will transform staements before passing them to a delegate
TrigParserwhich includes support for embedded rules.
WriterOptionsOptions to control the
RDF writing process
Enum Summary Enum Description FileFormat.Compression ParserContext.ParseError
Exception Summary Exception Description InvalidLiteralException thrown when a
Literalencountered during parsing is syntactically correct, but otherwise invalid.
InvalidRDFException thrown when
parsingan RDF file and the contents are not syntactically valid RDF.
RDFHandlerExceptionException denoting something unexpected happened in an
WritingFailedIndicates that there was an unexpected failure while