public class NodeRdfContext extends DefaultRdfStream
RdfStream
that holds contexts related to a specific Node
.Stream.Builder<T>
node
stream
Constructor and Description |
---|
NodeRdfContext(FedoraResource resource,
IdentifierConverter<com.hp.hpl.jena.rdf.model.Resource,FedoraResource> idTranslator)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Converter<javax.jcr.Node,com.hp.hpl.jena.rdf.model.Resource> |
nodeConverter() |
FedoraResource |
resource() |
com.hp.hpl.jena.graph.Node |
subject() |
IdentifierConverter<com.hp.hpl.jena.rdf.model.Resource,FedoraResource> |
translator() |
protected com.hp.hpl.jena.graph.Node |
uriFor(FedoraResource resource) |
concat, distinct, filter, fromModel, limit, onClose, parallel, peek, sequential, skip, sorted, sorted, topic, unordered
allMatch, 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, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allMatch, 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, toArray
close, isParallel, iterator, spliterator
public NodeRdfContext(FedoraResource resource, IdentifierConverter<com.hp.hpl.jena.rdf.model.Resource,FedoraResource> idTranslator)
resource
- the resourceidTranslator
- the id translatorpublic FedoraResource resource()
Node
in questionpublic IdentifierConverter<com.hp.hpl.jena.rdf.model.Resource,FedoraResource> translator()
IdentifierConverter
protected com.hp.hpl.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,com.hp.hpl.jena.rdf.model.Resource> nodeConverter()
IdentifierConverter
public com.hp.hpl.jena.graph.Node subject()
Copyright © 2013–2016 DuraSpace, Inc.. All rights reserved.