| Package | Description |
|---|---|
| org.openrdf.rio |
General classes and interfaces for RDF parsers and RDF writers.
|
| org.openrdf.rio.helpers |
Provides helpers classes for Rio.
|
| Modifier and Type | Method and Description |
|---|---|
ParserConfig |
RDFParser.getParserConfig()
Retrieves the current parser configuration as a single object.
|
| Modifier and Type | Method and Description |
|---|---|
static Model |
Rio.parse(InputStream in,
String baseURI,
RDFFormat dataFormat,
ParserConfig settings,
ValueFactory valueFactory,
ParseErrorListener errors,
Resource... contexts)
Adds RDF data from an
InputStream to a Model, optionally
to one or more named contexts. |
static Model |
Rio.parse(Reader reader,
String baseURI,
RDFFormat dataFormat,
ParserConfig settings,
ValueFactory valueFactory,
ParseErrorListener errors,
Resource... contexts)
|
void |
RDFParser.setParserConfig(ParserConfig config)
Sets all supplied parser configuration options.
|
| Modifier and Type | Method and Description |
|---|---|
ParserConfig |
RDFParserBase.getParserConfig() |
| Modifier and Type | Method and Description |
|---|---|
static Literal |
RDFParserHelper.createLiteral(String label,
String lang,
URI datatype,
ParserConfig parserConfig,
ParseErrorListener errListener,
ValueFactory valueFactory)
Create a literal using the given parameters, including iterative
verification and normalization by any
DatatypeHandler or
LanguageHandler implementations that are found in the
ParserConfig. |
static Literal |
RDFParserHelper.createLiteral(String label,
String lang,
URI datatype,
ParserConfig parserConfig,
ParseErrorListener errListener,
ValueFactory valueFactory,
int lineNo,
int columnNo)
Create a literal using the given parameters, including iterative
verification and normalization by any
DatatypeHandler or
LanguageHandler implementations that are found in the
ParserConfig. |
static void |
RDFParserHelper.reportError(Exception e,
int lineNo,
int columnNo,
RioSetting<Boolean> relevantSetting,
ParserConfig parserConfig,
ParseErrorListener errListener)
Reports an error with associated line- and column number to the registered
ParseErrorListener, if the given setting has been set to true.
|
static void |
RDFParserHelper.reportError(String msg,
int lineNo,
int columnNo,
RioSetting<Boolean> relevantSetting,
ParserConfig parserConfig,
ParseErrorListener errListener)
Reports an error with associated line- and column number to the registered
ParseErrorListener, if the given setting has been set to true.
|
static void |
RDFParserHelper.reportError(String msg,
RioSetting<Boolean> relevantSetting,
ParserConfig parserConfig,
ParseErrorListener errListener)
Reports an error with associated line- and column number to the registered
ParseErrorListener, if the given setting has been set to true.
|
void |
RDFParserBase.setParserConfig(ParserConfig config) |
Copyright © 2001-2014 Aduna. All Rights Reserved.