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, withThisContextclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEachRemainingpublic 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()
IdentifierConverterprotected 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()
IdentifierConverterpublic com.hp.hpl.jena.graph.Node subject()
Copyright © 2013–2015 DuraSpace, Inc.. All rights reserved.