| Modifier and Type | Method and Description |
|---|---|
ValueFactory |
SPARQLProtocolSession.getValueFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
SPARQLProtocolSession.setValueFactory(ValueFactory valueFactory) |
| Modifier and Type | Method and Description |
|---|---|
static Resource |
Protocol.decodeContext(String encodedValue,
ValueFactory valueFactory)
Decode a previously encoded context Resource.
|
static Resource[] |
Protocol.decodeContexts(String[] encodedValues,
ValueFactory valueFactory)
Decode previously encoded contexts.
|
static Resource |
Protocol.decodeResource(String encodedValue,
ValueFactory valueFactory)
Decode a previously encoded Resource.
|
static IRI |
Protocol.decodeURI(String encodedValue,
ValueFactory valueFactory)
Decode a previously encoded URI.
|
static Value |
Protocol.decodeValue(String encodedValue,
ValueFactory valueFactory)
Decode a previously encoded value.
|
| Modifier and Type | Method and Description |
|---|---|
ValueFactory |
Graph.getValueFactory()
Deprecated.
SimpleValueFactory.getInstance() will obtain a default
value factory implementation. If you are working with the Repository API, then
Repository instances also supply a getValueFactory() method. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractValueFactory
Abstract base class for
ValueFactory implementations. |
class |
SimpleValueFactory
Default implementation of the
ValueFactory interface. |
class |
ValidatingValueFactory
Validating wrapper to
ValueFactory. |
class |
ValueFactoryBase
Deprecated.
since 4.0. Use
AbstractValueFactory instead. |
class |
ValueFactoryImpl
Deprecated.
since 4.0. Use
SimpleValueFactory instead. |
| Modifier and Type | Field and Description |
|---|---|
protected ValueFactory |
GraphImpl.valueFactory
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ValueFactory |
GraphImpl.getValueFactory()
Deprecated.
|
ValueFactory |
AbstractModel.getValueFactory()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GraphImpl.setValueFactory(ValueFactory valueFactory)
Deprecated.
|
| Constructor and Description |
|---|
GraphImpl(ValueFactory valueFactory)
Deprecated.
|
GraphImpl(ValueFactory valueFactory,
Collection<? extends Statement> statements)
Deprecated.
|
ValidatingValueFactory(ValueFactory delegate) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Statements.consume(ValueFactory vf,
Resource subject,
IRI predicate,
Value object,
java.util.function.Consumer<Statement> consumer,
Resource... contexts)
|
static <C extends Collection<Statement>> |
Statements.create(ValueFactory vf,
Resource subject,
IRI predicate,
Value object,
C collection,
Resource... contexts)
Creates one or more
Statement objects with the given subject, predicate and object, one for
each given context. |
static Literal |
Literals.createLiteral(ValueFactory valueFactory,
Object object)
Creates a typed
Literal out of the supplied object, mapping the runtime type of the object to
the appropriate XML Schema type. |
static Literal |
Literals.createLiteralOrFail(ValueFactory valueFactory,
Object object)
Creates a typed
Literal out of the supplied object, mapping the runtime type of the object to
the appropriate XML Schema type. |
| Constructor and Description |
|---|
DAWGTestResultSetWriter(RDFHandler rdfHandler,
ValueFactory vf) |
| Constructor and Description |
|---|
TupleExprBuilder(ValueFactory valueFactory) |
UpdateExprBuilder(ValueFactory valueFactory) |
| Modifier and Type | Field and Description |
|---|---|
protected ValueFactory |
AbstractQueryResultParser.valueFactory
The
ValueFactory to use for creating RDF model objects. |
| Modifier and Type | Method and Description |
|---|---|
static TupleQueryResultParser |
QueryResultIO.createTupleParser(QueryResultFormat format,
ValueFactory valueFactory)
Convenience methods for creating TupleQueryResultParser objects that use the specified ValueFactory to
create RDF model objects.
|
static void |
QueryResultIO.parseTuple(InputStream in,
QueryResultFormat format,
TupleQueryResultHandler handler,
ValueFactory valueFactory)
Parses a query result document, reporting the parsed solutions to the supplied TupleQueryResultHandler.
|
QueryResultParser |
QueryResultParser.setValueFactory(ValueFactory valueFactory)
Sets the ValueFactory that the parser will use to create Value objects for the parsed query result.
|
QueryResultParser |
AbstractQueryResultParser.setValueFactory(ValueFactory valueFactory) |
| Constructor and Description |
|---|
AbstractQueryResultParser(ValueFactory valueFactory)
Creates a new parser base that will use the supplied ValueFactory to create Value objects.
|
AbstractTupleQueryResultParser(ValueFactory valueFactory)
Creates a new parser base that will use the supplied
ValueFactory to create Value
objects. |
| Constructor and Description |
|---|
BinaryQueryResultParser(ValueFactory valueFactory)
Creates a new parser for the binary query result format that will use the supplied ValueFactory to
create Value objects.
|
| Constructor and Description |
|---|
AbstractSPARQLJSONParser(ValueFactory valueFactory) |
SPARQLBooleanJSONParser(ValueFactory valueFactory)
Construct a parser with a specific
ValueFactory. |
SPARQLResultsJSONParser(ValueFactory valueFactory)
Construct a parser with a specific
ValueFactory. |
| Constructor and Description |
|---|
AbstractSPARQLXMLParser(ValueFactory valueFactory) |
SPARQLResultsXMLParser(ValueFactory valueFactory)
Creates a new parser for the SPARQL Query Results XML Format that will use the supplied ValueFactory to
create Value objects.
|
| Modifier and Type | Method and Description |
|---|---|
ValueFactory |
RepositoryConnection.getValueFactory()
Gets a ValueFactory for this RepositoryConnection.
|
ValueFactory |
Repository.getValueFactory()
Gets a ValueFactory for this Repository.
|
| Modifier and Type | Method and Description |
|---|---|
ValueFactory |
RepositoryWrapper.getValueFactory() |
ValueFactory |
AbstractRepositoryConnection.getValueFactory() |
| Modifier and Type | Method and Description |
|---|---|
ValueFactory |
HTTPRepository.getValueFactory() |
| Modifier and Type | Method and Description |
|---|---|
ValueFactory |
SPARQLRepository.getValueFactory() |
| Constructor and Description |
|---|
AbstractRDFInserter(ValueFactory vf)
Creates a new RDFInserter object that preserves bnode IDs and that does not enforce any context upon
statements that are reported to it.
|
RDFLoader(ParserConfig config,
ValueFactory vf) |
| Modifier and Type | Method and Description |
|---|---|
static RDFParser |
Rio.createParser(RDFFormat format,
ValueFactory valueFactory)
Convenience methods for creating RDFParser objects that use the specified ValueFactory to create RDF
model objects.
|
Literal |
DatatypeHandler.normalizeDatatype(String literalValue,
IRI datatypeUri,
ValueFactory valueFactory)
Normalize both the datatype URI and the literal value if appropriate, and use the given value factory
to generate a literal matching a literal value and datatype URI.
|
Literal |
LanguageHandler.normalizeLanguage(String literalValue,
String languageTag,
ValueFactory valueFactory)
Normalize both the language tag and the language if appropriate, and use the given value factory to
generate a literal matching the literal value and language tag.
|
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)
|
RDFParser |
RDFParser.setValueFactory(ValueFactory valueFactory)
Sets the ValueFactory that the parser will use to create Value objects for the parsed RDF data.
|
| Modifier and Type | Method and Description |
|---|---|
Literal |
XMLSchemaDatatypeHandler.normalizeDatatype(String literalValue,
IRI datatypeUri,
ValueFactory valueFactory) |
Literal |
VirtuosoGeometryDatatypeHandler.normalizeDatatype(String literalValue,
IRI datatypeUri,
ValueFactory valueFactory) |
Literal |
RDFDatatypeHandler.normalizeDatatype(String literalValue,
IRI datatypeUri,
ValueFactory valueFactory) |
Literal |
GeoSPARQLDatatypeHandler.normalizeDatatype(String literalValue,
IRI datatypeUri,
ValueFactory valueFactory) |
Literal |
DBPediaDatatypeHandler.normalizeDatatype(String literalValue,
IRI datatypeUri,
ValueFactory valueFactory) |
| Modifier and Type | Field and Description |
|---|---|
protected ValueFactory |
AbstractRDFParser.valueFactory
The ValueFactory to use for creating RDF model objects.
|
| Modifier and Type | Method and Description |
|---|---|
static Literal |
RDFParserHelper.createLiteral(String label,
String lang,
IRI 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,
IRI datatype,
ParserConfig parserConfig,
ParseErrorListener errListener,
ValueFactory valueFactory,
long lineNo,
long 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. |
RDFParser |
AbstractRDFParser.setValueFactory(ValueFactory valueFactory) |
| Constructor and Description |
|---|
AbstractRDFParser(ValueFactory valueFactory)
Creates a new RDFParserBase that will use the supplied ValueFactory to create RDF model objects.
|
ContextStatementCollector(Collection<Statement> statements,
Map<String,String> namespaces,
ValueFactory vf,
Resource... contexts)
Creates a new StatementCollector that stores reported statements and namespaces in the supplied
containers.
|
ContextStatementCollector(Collection<Statement> statements,
ValueFactory vf,
Resource... contexts)
Creates a new StatementCollector that stores reported statements in the supplied collection and that
uses a new LinkedHashMap to store the reported namespaces.
|
ContextStatementCollector(ValueFactory vf,
Resource... contexts)
Creates a new StatementCollector that uses a new ArrayList to store the reported statements and a new
LinkedHashMap to store the reported namespaces.
|
RDFParserBase(ValueFactory factory)
Deprecated.
|
| Constructor and Description |
|---|
JSONLDParser(ValueFactory valueFactory)
Creates a Sesame JSONLD Parser using the given
ValueFactory to create new Values. |
| Modifier and Type | Method and Description |
|---|---|
Literal |
RFC3066LanguageHandler.normalizeLanguage(String literalValue,
String languageTag,
ValueFactory valueFactory) |
Literal |
BCP47LanguageHandler.normalizeLanguage(String literalValue,
String languageTag,
ValueFactory valueFactory) |
| Modifier and Type | Method and Description |
|---|---|
static BNode |
NTriplesUtil.parseBNode(String nTriplesBNode,
ValueFactory valueFactory)
Parses an N-Triples bNode, creates an object for it using the supplied ValueFactory and returns this
object.
|
static Literal |
NTriplesUtil.parseLiteral(String nTriplesLiteral,
ValueFactory valueFactory)
Parses an N-Triples literal, creates an object for it using the supplied ValueFactory and returns this
object.
|
static Resource |
NTriplesUtil.parseResource(String nTriplesResource,
ValueFactory valueFactory)
Parses an N-Triples resource, creates an object for it using the supplied ValueFactory and returns this
object.
|
static IRI |
NTriplesUtil.parseURI(String nTriplesURI,
ValueFactory valueFactory)
Parses an N-Triples URI, creates an object for it using the supplied ValueFactory and returns this
object.
|
static Value |
NTriplesUtil.parseValue(String nTriplesValue,
ValueFactory valueFactory)
Parses an N-Triples value, creates an object for it using the supplied ValueFactory and returns this
object.
|
| Constructor and Description |
|---|
NTriplesParser(ValueFactory valueFactory)
Creates a new NTriplesParser that will use the supplied ValueFactory to create RDF model
objects.
|
| Constructor and Description |
|---|
RDFXMLParser(ValueFactory valueFactory)
Creates a new RDFXMLParser that will use the supplied ValueFactory to create RDF model
objects.
|
| Constructor and Description |
|---|
TriGParser(ValueFactory valueFactory)
Creates a new TriGParser that will use the supplied ValueFactory to create RDF model objects.
|
| Constructor and Description |
|---|
TriXParser(ValueFactory valueFactory)
Creates a new TriXParser that will use the supplied ValueFactory to create objects for resources,
bNodes, literals and statements.
|
| Constructor and Description |
|---|
TurtleParser(ValueFactory valueFactory)
Creates a new TurtleParser that will use the supplied ValueFactory to
create RDF model objects.
|
Copyright © 2015-2018 Eclipse Foundation. All Rights Reserved.