public class RelaxedRdfAdder extends RdfAdder
RdfStream
by adding its contents to the JCR with relaxed restrictions on server managed
properties.Constructor and Description |
---|
RelaxedRdfAdder(IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> idTranslator,
javax.jcr.Session session,
RdfStream stream,
Map<String,String> userNamespaces)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
operateOnProperty(org.apache.jena.rdf.model.Statement t,
FedoraResource resource) |
protected void |
operateOnTriple(org.apache.jena.rdf.model.Statement input) |
getNamespaces, operateOnMixin
consume, consumeAsync, jcrRdfTools, stream, translator
public RelaxedRdfAdder(IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> idTranslator, javax.jcr.Session session, RdfStream stream, Map<String,String> userNamespaces)
idTranslator
- translatorsession
- sessionstream
- rdf streamuserNamespaces
- namespacesprotected void operateOnTriple(org.apache.jena.rdf.model.Statement input) throws MalformedRdfException
operateOnTriple
in class PersistingRdfStreamConsumer
MalformedRdfException
protected void operateOnProperty(org.apache.jena.rdf.model.Statement t, FedoraResource resource) throws javax.jcr.RepositoryException
operateOnProperty
in class RdfAdder
javax.jcr.RepositoryException
Copyright © 2013–2019 DuraSpace, Inc.. All rights reserved.