public class NodeRdfContext extends RdfStream
RdfStream
that holds contexts related to a specific Node
.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) |
asModel, concat, concat, concat, concat, delegate, equals, filter, flatMap, fromModel, hashCode, iterable, limit, namespace, namespaces, namespaces, session, session, skip, topic, topic, transform, withThisContext, withThisContext
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEachRemaining
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–2015 DuraSpace, Inc.. All rights reserved.