| 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 |
|---|---|
static void |
Rio.main(String[] args) |
void |
RDFParser.parse(InputStream in,
String baseURI)
Parses the data from the supplied InputStream, using the supplied baseURI
to resolve any relative URI references.
|
void |
RDFParser.parse(Reader reader,
String baseURI)
Parses the data from the supplied Reader, using the supplied baseURI to
resolve any relative URI references.
|
| Modifier and Type | Method and Description |
|---|---|
protected BNode |
RDFParserBase.createBNode()
Creates a new
BNode object. |
protected BNode |
RDFParserBase.createBNode(String nodeID)
Creates a
BNode object for the specified identifier. |
protected Literal |
RDFParserBase.createLiteral(String label,
String lang,
URI datatype)
Creates a
Literal object with the supplied parameters. |
protected Statement |
RDFParserBase.createStatement(Resource subj,
URI pred,
Value obj)
Creates a new
Statement object with the supplied components. |
protected Statement |
RDFParserBase.createStatement(Resource subj,
URI pred,
Value obj,
Resource context)
Creates a new
Statement object with the supplied components. |
protected URI |
RDFParserBase.createURI(String uri)
Creates a
URI object for the specified URI-string. |
protected String |
RDFParserBase.getNamespace(String prefix)
Gets the namespace that is associated with the specified prefix or throws
an
RDFParseException. |
protected void |
RDFParserBase.reportError(String msg)
Reports an error to the registered ParseErrorListener, if any.
|
protected void |
RDFParserBase.reportError(String msg,
int lineNo,
int columnNo)
Reports an error with associated line- and column number to the registered
ParseErrorListener, if any.
|
protected void |
RDFParserBase.reportFatalError(Exception e)
Reports a fatal error to the registered ParseErrorListener, if any, and
throws a ParseException afterwards.
|
protected void |
RDFParserBase.reportFatalError(Exception e,
int lineNo,
int columnNo)
Reports a fatal error with associated line- and column number to the
registered ParseErrorListener, if any, and throws a
ParseException wrapped the supplied exception afterwards.
|
protected void |
RDFParserBase.reportFatalError(String msg)
Reports a fatal error to the registered ParseErrorListener, if any, and
throws a ParseException afterwards.
|
protected void |
RDFParserBase.reportFatalError(String msg,
int lineNo,
int columnNo)
Reports a fatal error with associated line- and column number to the
registered ParseErrorListener, if any, and throws a
ParseException afterwards.
|
protected URI |
RDFParserBase.resolveURI(String uriSpec)
Resolves a URI-string against the base URI and creates a
URI
object for it. |
Copyright © 2001-2013 Aduna. All Rights Reserved.