| Package | Description |
|---|---|
| org.fcrepo.kernel |
This package contains abstractions for
FedoraResource types and
some types and functionality for Transactions. |
| org.fcrepo.kernel.rdf | |
| org.fcrepo.kernel.rdf.impl | |
| org.fcrepo.kernel.services | |
| org.fcrepo.kernel.utils.iterators |
| Modifier and Type | Method and Description |
|---|---|
RdfStream |
FedoraResource.getHierarchyTriples(GraphSubjects graphSubjects)
Return the JCR properties of this object as an
RdfStream |
RdfStream |
FedoraResource.getTriples(GraphSubjects graphSubjects)
Return the JCR properties of this object as an
RdfStream |
RdfStream |
FedoraResource.getVersionTriples(GraphSubjects graphSubjects)
Serialize the JCR versions information as an RDF dataset
|
RdfStream |
FedoraResource.replaceProperties(GraphSubjects graphSubjects,
com.hp.hpl.jena.rdf.model.Model inputModel)
Replace the properties of this object with the properties from the given
model
|
| Modifier and Type | Method and Description |
|---|---|
RdfStream |
JcrRdfTools.getJcrPropertiesModel(Iterator<javax.jcr.Node> nodeIterator,
com.hp.hpl.jena.rdf.model.Resource iteratorSubject)
Get an
RdfStream for the given JCR NodeIterator |
RdfStream |
JcrRdfTools.getJcrTriples(javax.jcr.Node node)
Get an
RdfStream for a node that includes all its own JCR properties,
as well as the properties of its immediate children. |
RdfStream |
JcrRdfTools.getJcrTriples(javax.jcr.Node node,
Iterable<FixityResult> blobs)
Serialize the JCR fixity information in an
RdfStream |
RdfStream |
JcrRdfTools.getNamespaceTriples()
Get an
RdfStream of the registered JCR namespaces |
RdfStream |
JcrRdfTools.getTreeTriples(javax.jcr.Node node)
Add the properties of a Node's parent and immediate children (as well as
the jcr:content of children) to the given
RdfStream |
RdfStream |
JcrRdfTools.getVersionTriples(javax.jcr.Node node)
Get an
RdfStream for the JCR version history information for a node |
RdfStream |
JcrRdfTools.getWorkspaceTriples(GraphSubjects subjects)
Get an
RdfStream of the registered JCR workspaces |
| Modifier and Type | Class and Description |
|---|---|
class |
FixityRdfContext
An
RdfStream containing information about the fixity of a
Node. |
class |
HierarchyRdfContext
An
RdfContext that contains information about the JCR hierarchy
around a given node. |
class |
NamespaceRdfContext
An
RdfStream that holds the namespace mappings for serializations,
as well as Triples describing those namespaces. |
class |
NodeRdfContext
RdfStream that holds contexts related to a specific Node. |
class |
NodeTypeRdfContext
Assemble
Triples derived from the NodeTypes in a repository. |
class |
PropertiesRdfContext
NodeRdfContext for RDF that derives from JCR properties on a
Node. |
class |
RootRdfContext
Assemble
Triples derived from the root Node of a repository. |
class |
VersionsRdfContext
|
class |
WorkspaceRdfContext
Constructs RDF from the structure of
Workspaces in the repository. |
| Modifier and Type | Method and Description |
|---|---|
RdfStream |
DatastreamService.getFixityResultsModel(GraphSubjects subjects,
Datastream datastream)
Get the fixity results for the datastream as a RDF Dataset
|
RdfStream |
RepositoryService.getNamespaceRegistryStream(javax.jcr.Session session)
Serialize the JCR namespace information as an
RdfStream |
RdfStream |
RepositoryService.getNodeTypes(javax.jcr.Session session) |
| Modifier and Type | Method and Description |
|---|---|
RdfStream |
RdfStream.concat(Collection<? extends com.hp.hpl.jena.graph.Triple> newTriples) |
RdfStream |
RdfStream.concat(Iterator<? extends com.hp.hpl.jena.graph.Triple> newTriples) |
<T extends com.hp.hpl.jena.graph.Triple> |
RdfStream.concat(T... newTriples) |
<T extends com.hp.hpl.jena.graph.Triple> |
RdfStream.concat(T newTriple) |
RdfStream |
RdfStream.filter(com.google.common.base.Predicate<? super com.hp.hpl.jena.graph.Triple> predicate)
As
Iterables.filter(Iterable, Predicate) while maintaining context. |
static RdfStream |
RdfStream.fromModel(com.hp.hpl.jena.rdf.model.Model model) |
RdfStream |
RdfStream.limit(Integer limit)
As
Iterables.limit(Iterable, int) while maintaining context. |
RdfStream |
RdfStream.namespace(String prefix,
String uri) |
RdfStream |
RdfStream.namespaces(Map<String,String> nses) |
RdfStream |
RdfStream.session(javax.jcr.Session session)
Sets the JCR context of this stream
|
RdfStream |
RdfStream.skip(Integer skipNum)
As
Iterables.skip(Iterable, int) while maintaining context. |
RdfStream |
PersistingRdfStreamConsumer.stream() |
RdfStream |
RdfStream.topic(com.hp.hpl.jena.graph.Node topic)
Sets the topic of this stream
|
<Tr extends com.hp.hpl.jena.graph.Triple,T extends Iterable<Tr>> |
RdfStream.withThisContext(T stream)
Returns the proffered
Triples with the context of this RdfStream. |
<Tr extends com.hp.hpl.jena.graph.Triple,T extends Iterator<Tr>> |
RdfStream.withThisContext(T stream)
Returns the proffered
Triples with the context of this RdfStream. |
| Constructor and Description |
|---|
PersistingRdfStreamConsumer(GraphSubjects graphSubjects,
javax.jcr.Session session,
RdfStream stream)
Ordinary constructor.
|
RdfAdder(GraphSubjects graphSubjects,
javax.jcr.Session session,
RdfStream stream)
Ordinary constructor.
|
RdfRemover(GraphSubjects graphSubjects,
javax.jcr.Session session,
RdfStream stream)
Ordinary constructor.
|
Copyright © 2013 DuraSpace, Inc.. All Rights Reserved.