| Package | Description |
|---|---|
| org.eclipse.rdf4j.model |
The RDF Model API
|
| org.eclipse.rdf4j.model.base |
Abstract base classes for RDF Model API interfaces.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BNode
An RDF-1.1 blank node (aka bnode, aka anonymous node).
|
interface |
IRI
An Internationalized Resource Identifier (IRI).
|
interface |
Literal
An RDF-1.1 literal consisting of a label (the lexical value), a datatype, and optionally a language tag.
|
interface |
Resource
The supertype of all RDF resources (IRIs and blank nodes).
|
interface |
Triple
An RDF* embedded triple.
|
interface |
URI
Deprecated.
since 2.0. Use
IRI instead. |
| Modifier and Type | Method and Description |
|---|---|
Value |
Triple.getObject()
Gets the object of this triple.
|
Value |
Statement.getObject()
Gets the object of this statement.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Value> |
Model.objects()
Returns a
Set view of the objects contained in this model. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Model.add(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Adds one or more statements to the model.
|
default boolean |
Model.add(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.0. Use
Model.add(Resource, IRI, Value, Resource...) instead. |
boolean |
Model.contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Determines if statements with the specified subject, predicate, object and (optionally) context exist in this
model.
|
default boolean |
Model.contains(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.0. Use
Model.contains(Resource, IRI, Value, Resource...) instead. |
Statement |
ValueFactory.createStatement(Resource subject,
IRI predicate,
Value object)
Creates a new statement with the supplied subject, predicate and object.
|
Statement |
ValueFactory.createStatement(Resource subject,
IRI predicate,
Value object,
Resource context)
Creates a new statement with the supplied subject, predicate and object and associated context.
|
default Statement |
ValueFactory.createStatement(Resource subject,
URI predicate,
Value object)
Deprecated.
Use
ValueFactory.createStatement(Resource, IRI, Value) instead. |
default Statement |
ValueFactory.createStatement(Resource subject,
URI predicate,
Value object,
Resource context)
Deprecated.
|
default Triple |
ValueFactory.createTriple(Resource subject,
IRI predicate,
Value object)
Creates a new RDF* triple with the supplied subject, predicate and object.
|
Model |
Model.filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Returns a filtered view of the statements with the specified subject, predicate, object and (optionally) context.
|
default Model |
Model.filter(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
|
default Iterable<Statement> |
Model.getStatements(Resource subject,
IRI predicate,
Value object,
Resource... contexts)
|
boolean |
Model.remove(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Removes statements with the specified subject, predicate, object and (optionally) context exist in this model.
|
default boolean |
Model.remove(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 2.0. Use
Model.remove(Resource, IRI, Value, Resource...) instead. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBNode
Base class for
BNode, offering common functionality. |
class |
AbstractIRI
Base class for
IRI, offering common functionality. |
class |
AbstractLiteral
Base class for
Literal, offering common functionality. |
class |
AbstractTriple
Base class for
Triple, offering common functionality. |
| Modifier and Type | Method and Description |
|---|---|
Statement |
AbstractValueFactory.createStatement(Resource subject,
IRI predicate,
Value object) |
Statement |
AbstractValueFactory.createStatement(Resource subject,
IRI predicate,
Value object,
Resource context) |
Triple |
AbstractValueFactory.createTriple(Resource subject,
IRI predicate,
Value object) |
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.