public class DefaultGraphSubjects extends Object implements GraphSubjects
| Constructor and Description |
|---|
DefaultGraphSubjects() |
| Modifier and Type | Method and Description |
|---|---|
com.hp.hpl.jena.rdf.model.Resource |
getGraphSubject(javax.jcr.Node node)
Translate a JCR node into an RDF Resource
|
com.hp.hpl.jena.rdf.model.Resource |
getGraphSubject(String absPath)
Get the RDF resource for an absolute path
|
javax.jcr.Node |
getNodeFromGraphSubject(javax.jcr.Session session,
com.hp.hpl.jena.rdf.model.Resource subject)
Translate an RDF resource into a JCR node
|
boolean |
isFedoraGraphSubject(com.hp.hpl.jena.rdf.model.Resource subject)
Predicate for determining whether this
Node is a Fedora object. |
public com.hp.hpl.jena.rdf.model.Resource getGraphSubject(String absPath) throws javax.jcr.RepositoryException
GraphSubjectsgetGraphSubject in interface GraphSubjectsabsPath - the absolute path to the JCR nodejavax.jcr.RepositoryExceptionpublic com.hp.hpl.jena.rdf.model.Resource getGraphSubject(javax.jcr.Node node)
throws javax.jcr.RepositoryException
GraphSubjectsgetGraphSubject in interface GraphSubjectsjavax.jcr.RepositoryExceptionpublic javax.jcr.Node getNodeFromGraphSubject(javax.jcr.Session session,
com.hp.hpl.jena.rdf.model.Resource subject)
throws javax.jcr.RepositoryException
GraphSubjectsgetNodeFromGraphSubject in interface GraphSubjectssubject - an RDF URI resourcejavax.jcr.RepositoryExceptionpublic boolean isFedoraGraphSubject(com.hp.hpl.jena.rdf.model.Resource subject)
GraphSubjectsNode is a Fedora object.isFedoraGraphSubject in interface GraphSubjectsCopyright © 2013 DuraSpace, Inc.. All Rights Reserved.