Package | Description |
---|---|
org.eclipse.rdf4j.model |
RDF Model API
|
org.eclipse.rdf4j.model.util |
Modifier and Type | Method and Description |
---|---|
default Optional<IRI> |
Model.objectIRI()
Deprecated.
since 2.0. Instead, use
Models#objectURI(Model) to retrieve an object URI value, and/or use
the size of the set returned by Model.objects() to verify if the object is unique. |
default Optional<Literal> |
Model.objectLiteral()
Deprecated.
since 2.0. Instead, use
Models.objectLiteral(Model) to retrieve an object Literal value,
and/or use the size of the set returned by Model.objects() to verify if the object is unique. |
default Optional<Resource> |
Model.objectResource()
Deprecated.
since 2.0. Instead, use
Models.objectResource(Model) to retrieve an object Resource value,
and/or use the size of the set returned by Model.objects() to verify if the object is unique. |
default Optional<String> |
Model.objectString()
Deprecated.
since 2.0. Instead, use
Models.objectString(Model) to retrieve an object string value, and/or
use the size of the set returned by Model.objects() to verify if the object is unique. |
default Optional<IRI> |
Model.objectURI()
Deprecated.
use
Model.objectIRI() instead. |
default Optional<Value> |
Model.objectValue()
Deprecated.
since 2.0. Instead, use
Models.object(Model) to retrieve an object value, and/or use the size
of the set returned by Model.objects() to verify if the object is unique. |
default Optional<BNode> |
Model.subjectBNode()
Deprecated.
since 2.0. Instead, use
Models.subjectBNode(Model) to retrieve a subject BNode, and/or use
the size of the set returned by Model.subjects() to verify if the subject is unique. |
default Optional<IRI> |
Model.subjectIRI()
Deprecated.
since 2.0. Instead, use
Models#subjectURI(Model) to retrieve a subject URI, and/or use the
size of the set returned by Model.subjects() to verify if the subject is unique. |
default Optional<Resource> |
Model.subjectResource()
Deprecated.
since 2.0. Instead, use
Models.subject(Model) to retrieve a subject Resource, and/or use the
size of the set returned by Model.subjects() to verify if the subject is unique. |
default Optional<IRI> |
Model.subjectURI()
Deprecated.
use
Model.subjectIRI() instead. |
Modifier and Type | Method and Description |
---|---|
static java.util.function.Supplier<ModelException> |
Models.modelException(String message)
Creates a
Supplier of ModelException objects that be passed to
Optional.orElseThrow(Supplier) to generate exceptions as necessary. |
Modifier and Type | Method and Description |
---|---|
static <C extends Collection<Value>> |
RDFCollections.asValues(Model m,
Resource head,
C collection,
Resource... contexts)
Converts an RDF Collection to a Java
Collection of Value objects. |
static void |
RDFCollections.consumeValues(Model m,
Resource head,
java.util.function.Consumer<Value> consumer,
Resource... contexts)
|
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.