Package | Description |
---|---|
org.openrdf.http.client | |
org.openrdf.repository |
The Repository API: the main API for handling Sesame repositories.
|
org.openrdf.repository.base | |
org.openrdf.repository.contextaware | |
org.openrdf.repository.sail.helpers | |
org.openrdf.repository.sparql | |
org.openrdf.repository.util | |
org.openrdf.rio |
General classes and interfaces for RDF parsers and RDF writers.
|
org.openrdf.rio.binary | |
org.openrdf.rio.helpers |
Provides helpers classes for Rio.
|
org.openrdf.rio.nquads |
Parser and writer for RDF in N-Quads format.
|
org.openrdf.rio.ntriples |
Parser and writer for RDF in N-Triples format.
|
org.openrdf.rio.rdfjson | |
org.openrdf.rio.rdfxml |
Parser and writer for XML-serialized RDF.
|
org.openrdf.rio.trig |
Parser and writer for RDF in TriG format.
|
org.openrdf.rio.trix |
Parser and writer for RDF in
TriX format.
|
org.openrdf.rio.turtle |
Parser and writer for RDF in Turtle format.
|
Modifier and Type | Method and Description |
---|---|
void |
SesameHTTPClient.upload(InputStream contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
Resource... contexts) |
void |
SesameHTTPClient.upload(Reader contents,
String baseURI,
RDFFormat dataFormat,
boolean overwrite,
Resource... contexts) |
protected void |
SesameHTTPClient.upload(org.apache.commons.httpclient.methods.RequestEntity reqEntity,
String baseURI,
boolean overwrite,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryConnection.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds RDF data from the specified file to a specific contexts in the
repository.
|
void |
RepositoryConnection.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds RDF data from an InputStream to the repository, optionally to one or
more named contexts.
|
void |
RepositoryConnection.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds RDF data from a Reader to the repository, optionally to one or more
named contexts.
|
void |
RepositoryConnection.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds the RDF data that can be found at the specified URL to the
repository, optionally to one or more named contexts.
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryConnectionBase.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionBase.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionBase.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionBase.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
RepositoryConnectionWrapper.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
void |
ContextAwareConnection.add(File file,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(InputStream in,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(Reader reader,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(URL url,
RDFFormat dataFormat,
Resource... contexts) |
void |
ContextAwareConnection.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
protected void |
SailUpdateExecutor.executeLoad(Load load,
UpdateContext uc) |
void |
SailUpdateExecutor.executeUpdate(UpdateExpr updateExpr,
Dataset dataset,
BindingSet bindings,
boolean includeInferred) |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLConnection.add(File file,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
SPARQLConnection.add(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
SPARQLConnection.add(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
void |
SPARQLConnection.add(URL url,
String baseURI,
RDFFormat dataFormat,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
void |
RDFLoader.load(File file,
String baseURI,
RDFFormat dataFormat,
RDFHandler rdfHandler)
Parses RDF data from the specified file to the given RDFHandler.
|
void |
RDFLoader.load(InputStream in,
String baseURI,
RDFFormat dataFormat,
RDFHandler rdfHandler)
Parses RDF data from an InputStream to the RDFHandler.
|
void |
RDFLoader.load(Reader reader,
String baseURI,
RDFFormat dataFormat,
RDFHandler rdfHandler)
Parses RDF data from a Reader to the RDFHandler.
|
void |
RDFLoader.load(URL url,
String baseURI,
RDFFormat dataFormat,
RDFHandler rdfHandler)
Parses the RDF data that can be found at the specified URL to the
RDFHandler.
|
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.
|
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(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds RDF data from an
InputStream to a Model , optionally
to one or more named contexts. |
void |
RDFParser.parse(Reader reader,
String baseURI)
Parses the data from the supplied Reader, using the supplied baseURI to
resolve any relative URI references.
|
static Model |
Rio.parse(Reader reader,
String baseURI,
RDFFormat dataFormat,
ParserConfig settings,
ValueFactory valueFactory,
ParseErrorListener errors,
Resource... contexts)
|
static Model |
Rio.parse(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
|
Modifier and Type | Method and Description |
---|---|
void |
BinaryRDFParser.parse(InputStream in,
String baseURI) |
void |
BinaryRDFParser.parse(Reader reader,
String baseURI) |
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. |
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 . |
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(Exception e,
int lineNo,
int columnNo,
RioSetting<Boolean> relevantSetting)
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(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.
|
protected void |
RDFParserBase.reportError(String msg,
int lineNo,
int columnNo,
RioSetting<Boolean> relevantSetting)
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.
|
protected void |
RDFParserBase.reportError(String msg,
RioSetting<Boolean> relevantSetting)
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.
|
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.
|
static void |
RDFParserHelper.reportFatalError(Exception e,
int lineNo,
int columnNo,
ParseErrorListener errListener)
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.
|
static void |
RDFParserHelper.reportFatalError(Exception e,
ParseErrorListener errListener)
Reports a fatal error to the registered ParseErrorListener, if any, and
throws a ParseException 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.
|
static void |
RDFParserHelper.reportFatalError(String msg,
int lineNo,
int columnNo,
ParseErrorListener errListener)
Reports a fatal error with associated line- and column number to the
registered ParseErrorListener, if any, and throws a
ParseException afterwards.
|
static void |
RDFParserHelper.reportFatalError(String msg,
ParseErrorListener errListener)
Reports a fatal error 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. |
Modifier and Type | Method and Description |
---|---|
void |
NQuadsParser.parse(InputStream inputStream,
String baseURI) |
void |
NQuadsParser.parse(Reader reader,
String baseURI) |
protected int |
NQuadsParser.parseContext(int c) |
Modifier and Type | Method and Description |
---|---|
protected int |
NTriplesParser.assertLineTerminates(int c)
Verifies that there is only whitespace until the end of the line.
|
protected Literal |
NTriplesParser.createLiteral(String label,
String lang,
String datatype) |
protected URI |
NTriplesParser.createURI(String uri) |
void |
NTriplesParser.parse(InputStream in,
String baseURI)
Implementation of the parse(InputStream, String) method defined
in the RDFParser interface.
|
void |
NTriplesParser.parse(Reader reader,
String baseURI)
Implementation of the parse(Reader, String) method defined in the
RDFParser interface.
|
protected int |
NTriplesParser.parseNodeID(int c,
StringBuilder name) |
protected int |
NTriplesParser.parseObject(int c) |
protected int |
NTriplesParser.parsePredicate(int c) |
protected int |
NTriplesParser.parseSubject(int c) |
protected int |
NTriplesParser.parseUriRef(int c,
StringBuilder uriRef) |
protected void |
NTriplesParser.reportError(Exception e,
RioSetting<Boolean> setting) |
protected void |
NTriplesParser.reportError(String msg,
RioSetting<Boolean> setting)
Overrides
RDFParserBase#reportError(String) , adding line number
information to the error. |
protected void |
NTriplesParser.reportFatalError(Exception e)
Overrides
RDFParserBase.reportFatalError(Exception) , adding line
number information to the error. |
protected void |
NTriplesParser.reportFatalError(String msg)
Overrides
RDFParserBase.reportFatalError(String) , adding line
number information to the error. |
protected void |
NTriplesParser.throwEOFException() |
Modifier and Type | Method and Description |
---|---|
void |
RDFJSONParser.parse(InputStream inputStream,
String baseUri) |
void |
RDFJSONParser.parse(Reader reader,
String baseUri) |
protected void |
RDFJSONParser.reportError(String msg,
com.fasterxml.jackson.core.JsonLocation location,
RioSetting<Boolean> setting) |
protected void |
RDFJSONParser.reportError(String msg,
Throwable e,
com.fasterxml.jackson.core.JsonLocation location,
RioSetting<Boolean> setting) |
protected void |
RDFJSONParser.reportFatalError(String msg,
com.fasterxml.jackson.core.JsonLocation location) |
protected void |
RDFJSONParser.reportFatalError(String msg,
Throwable e,
com.fasterxml.jackson.core.JsonLocation location) |
Modifier and Type | Method and Description |
---|---|
protected BNode |
RDFXMLParser.createBNode(String nodeID) |
void |
RDFXMLParser.parse(InputStream in,
String baseURI)
Parses the data from the supplied InputStream, using the supplied baseURI
to resolve any relative URI references.
|
void |
RDFXMLParser.parse(Reader reader,
String baseURI)
Parses the data from the supplied Reader, using the supplied baseURI to
resolve any relative URI references.
|
protected void |
RDFXMLParser.reportError(String msg,
RioSetting<Boolean> setting)
Overrides
RDFParserBase#reportError(String) , adding line- and
column number information to the error. |
protected void |
RDFXMLParser.reportFatalError(Exception e)
Overrides
RDFParserBase.reportFatalError(Exception) , adding line-
and column number information to the error. |
protected void |
RDFXMLParser.reportFatalError(String msg)
Overrides
RDFParserBase.reportFatalError(String) , adding line- and
column number information to the error. |
Modifier and Type | Method and Description |
---|---|
protected void |
TriGParser.parseGraph() |
protected void |
TriGParser.parseStatement() |
protected void |
TriGParser.reportStatement(Resource subj,
URI pred,
Value obj) |
Modifier and Type | Method and Description |
---|---|
void |
TriXParser.parse(InputStream in,
String baseURI) |
void |
TriXParser.parse(Reader reader,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
void |
TurtleParser.parse(InputStream in,
String baseURI)
Implementation of the parse(InputStream, String) method defined
in the RDFParser interface.
|
void |
TurtleParser.parse(Reader reader,
String baseURI)
Implementation of the parse(Reader, String) method defined in the
RDFParser interface.
|
protected void |
TurtleParser.parseBase() |
protected Resource |
TurtleParser.parseCollection()
Parses a collection, e.g.
|
protected void |
TurtleParser.parseDirective(String directive) |
protected Resource |
TurtleParser.parseImplicitBlank()
Parses an implicit blank node.
|
protected String |
TurtleParser.parseLongString(int closingCharacter)
Parses a """long string""".
|
protected BNode |
TurtleParser.parseNodeID()
Parses a blank node ID, e.g.
|
protected Literal |
TurtleParser.parseNumber() |
protected void |
TurtleParser.parseObject() |
protected void |
TurtleParser.parseObjectList() |
protected URI |
TurtleParser.parsePredicate() |
protected void |
TurtleParser.parsePredicateObjectList() |
protected void |
TurtleParser.parsePrefixID() |
protected Value |
TurtleParser.parseQNameOrBoolean()
Parses qnames and boolean values, which have equivalent starting
characters.
|
protected Literal |
TurtleParser.parseQuotedLiteral()
Parses a quoted string, optionally followed by a language tag or datatype.
|
protected String |
TurtleParser.parseQuotedString()
Parses a quoted string, which is either a "normal string" or a """long
string""".
|
protected void |
TurtleParser.parseStatement() |
protected String |
TurtleParser.parseString(int closingCharacter)
Parses a "normal string".
|
protected void |
TurtleParser.parseSubject() |
protected void |
TurtleParser.parseTriples() |
protected URI |
TurtleParser.parseURI() |
protected Value |
TurtleParser.parseValue()
Parses an RDF value.
|
protected void |
TurtleParser.reportError(String msg,
RioSetting<Boolean> setting)
Overrides
RDFParserBase#reportError(String) , adding line number
information to the error. |
protected void |
TurtleParser.reportFatalError(Exception e)
Overrides
RDFParserBase.reportFatalError(Exception) , adding line
number information to the error. |
protected void |
TurtleParser.reportFatalError(String msg)
Overrides
RDFParserBase.reportFatalError(String) , adding line
number information to the error. |
protected void |
TurtleParser.reportStatement(Resource subj,
URI pred,
Value obj) |
protected void |
TurtleParser.throwEOFException() |
protected void |
TurtleParser.verifyCharacterOrFail(int c,
String expected)
Verifies that the supplied character c is one of the expected
characters specified in expected.
|
Copyright © 2001-2013 Aduna. All Rights Reserved.