| Package | Description |
|---|---|
| org.eclipse.rdf4j.rio |
Rio: The RDF4J parser/writer API.
|
| org.eclipse.rdf4j.rio.helpers |
Provides helpers classes for Rio.
|
| Modifier and Type | Method and Description |
|---|---|
static RDFParser |
Rio.createParser(RDFFormat format)
Convenience methods for creating RDFParser objects.This method uses the registry returned by
RDFParserRegistry.getInstance() to get a factory for the specified format and uses this factory to create
the appropriate parser. |
static RDFParser |
Rio.createParser(RDFFormat format,
org.eclipse.rdf4j.model.ValueFactory valueFactory)
Convenience methods for creating RDFParser objects that use the specified ValueFactory to create RDF model
objects.
|
RDFParser |
RDFParserFactory.getParser()
Returns a RDFParser instance.
|
<T> RDFParser |
RDFParser.set(RioSetting<T> setting,
T value)
Set a setting on the parser, and return this parser object to allow chaining.
|
RDFParser |
RDFParser.setParseErrorListener(ParseErrorListener el)
Sets the ParseErrorListener that will be notified of any errors that this parser finds during parsing.
|
RDFParser |
RDFParser.setParseLocationListener(ParseLocationListener ll)
Sets the ParseLocationListener that will be notified of the parser's progress during the parse process.
|
RDFParser |
RDFParser.setParserConfig(ParserConfig config)
Sets all supplied parser configuration options.
|
RDFParser |
RDFParser.setRDFHandler(RDFHandler handler)
Sets the RDFHandler that will handle the parsed RDF data.
|
RDFParser |
RDFParser.setValueFactory(org.eclipse.rdf4j.model.ValueFactory valueFactory)
Sets the ValueFactory that the parser will use to create Value objects for the parsed RDF data.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRDFParser
Base class for
RDFParsers offering common functionality for RDF parsers. |
class |
RDFParserBase
Deprecated.
since 2.0. Use
AbstractRDFParser instead. |
class |
XMLReaderBasedParser
Base class for Rio parsers that are based on a SAX
XMLReader. |
| Modifier and Type | Method and Description |
|---|---|
<T> RDFParser |
AbstractRDFParser.set(RioSetting<T> setting,
T value) |
RDFParser |
AbstractRDFParser.setParseErrorListener(ParseErrorListener el) |
RDFParser |
AbstractRDFParser.setParseLocationListener(ParseLocationListener el) |
RDFParser |
AbstractRDFParser.setParserConfig(ParserConfig config) |
RDFParser |
AbstractRDFParser.setRDFHandler(RDFHandler handler) |
RDFParser |
AbstractRDFParser.setValueFactory(org.eclipse.rdf4j.model.ValueFactory valueFactory) |
Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.