public class NodeRdfContext extends DefaultRdfStream
RdfStream that holds contexts related to a specific Node.Stream.Builder<T>nodestream| Constructor and Description |
|---|
NodeRdfContext(FedoraResource resource,
IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> idTranslator)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Converter<javax.jcr.Node,org.apache.jena.rdf.model.Resource> |
nodeConverter() |
FedoraResource |
resource() |
org.apache.jena.graph.Node |
subject() |
IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> |
translator() |
protected org.apache.jena.graph.Node |
uriFor(FedoraResource resource) |
concat, distinct, filter, fromModel, limit, onClose, parallel, peek, sequential, skip, sorted, sorted, topic, unorderedallMatch, anyMatch, close, collect, collect, count, findAny, findFirst, flatMap, flatMapToDouble, flatMapToInt, flatMapToLong, forEach, forEachOrdered, isParallel, iterator, map, mapToDouble, mapToInt, mapToLong, max, min, noneMatch, reduce, reduce, reduce, spliterator, toArray, toArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallMatch, anyMatch, builder, collect, collect, concat, count, empty, findAny, findFirst, flatMap, flatMapToDouble, flatMapToInt, flatMapToLong, forEach, forEachOrdered, generate, iterate, map, mapToDouble, mapToInt, mapToLong, max, min, noneMatch, of, of, reduce, reduce, reduce, toArray, toArrayclose, isParallel, iterator, spliteratorpublic NodeRdfContext(FedoraResource resource, IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> idTranslator)
resource - the resourceidTranslator - the id translatorpublic FedoraResource resource()
Node in questionpublic IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> translator()
IdentifierConverterprotected org.apache.jena.graph.Node uriFor(FedoraResource resource)
resource - a Fedora model instance that must be identified by an URIpublic com.google.common.base.Converter<javax.jcr.Node,org.apache.jena.rdf.model.Resource> nodeConverter()
IdentifierConverterpublic org.apache.jena.graph.Node subject()
Copyright © 2013–2017 DuraSpace, Inc.. All rights reserved.