| 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 | Method and Description |
|---|---|
IRI |
ValueFactory.createIRI(String iri)
Creates a new IRI from the supplied string-representation.
|
IRI |
ValueFactory.createIRI(String namespace,
String localName)
Creates a new IRI from the supplied namespace and local name.
|
IRI |
Literal.getDatatype()
Gets the datatype for this literal.
|
IRI |
Triple.getPredicate()
Gets the predicate of this triple.
|
IRI |
Statement.getPredicate()
Gets the predicate of this statement.
|
| Modifier and Type | Method and Description |
|---|---|
Set<IRI> |
Model.predicates()
Returns a
Set view of the predicates 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.
|
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.
|
Literal |
ValueFactory.createLiteral(String label,
IRI datatype)
Creates a new literal with the supplied label and datatype.
|
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 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 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractIRI
Base class for
IRI, offering common functionality. |
| Modifier and Type | Method and Description |
|---|---|
IRI |
AbstractValueFactory.createIRI(String iri) |
IRI |
AbstractValueFactory.createIRI(String namespace,
String localName) |
| Modifier and Type | Method and Description |
|---|---|
Literal |
AbstractValueFactory.createLiteral(String label,
IRI datatype) |
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.