Package | Description |
---|---|
org.eclipse.rdf4j.model.util |
Helper classes for working with RDF models.
|
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)
|
static void |
RDFContainers.consumeValues(Model m,
Resource container,
IRI containerType,
java.util.function.Consumer<Value> consumer,
Resource... contexts)
|
static <C extends Collection<Value>> |
RDFContainers.toValues(IRI containerType,
Model m,
Resource container,
C collection,
Resource... contexts)
Converts an RDF Containter to a Java
Collection of Value objects. |
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.