| Package | Description |
|---|---|
| org.eclipse.rdf4j.model.impl |
Default implementations of the RDF model interfaces
|
| org.eclipse.rdf4j.model.util |
Helper classes for working with RDF models.
|
| 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 2.0. Use
AbstractValueFactory instead. |
class |
ValueFactoryImpl
Deprecated.
since 2.0. Use
SimpleValueFactory instead. |
| Constructor and Description |
|---|
ValidatingValueFactory(ValueFactory delegate) |
| Modifier and Type | Method and Description |
|---|---|
static <C extends Collection<Statement>> |
RDFCollections.asRDF(Iterable<?> values,
Resource head,
C sink,
ValueFactory valueFactory,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Collection, using the supplied head resource as the starting resource of the RDF Collection. |
static void |
Statements.consume(ValueFactory vf,
Resource subject,
IRI predicate,
Value object,
java.util.function.Consumer<Statement> consumer,
Resource... contexts)
|
static void |
RDFCollections.consumeCollection(Iterable<?> values,
Resource head,
java.util.function.Consumer<Statement> consumer,
ValueFactory vf,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Collection, using the supplied head resource as the starting resource of the RDF Collection. |
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. |
static Statement |
Statements.stripContext(ValueFactory vf,
Statement statement)
Strips the context (if any) from the supplied statement and returns a statement with the same subject, predicate
and object, but with no assigned context.
|
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.