public class JcrPropertyStatementListener extends com.hp.hpl.jena.rdf.listeners.StatementListener
Constructor and Description |
---|
JcrPropertyStatementListener(IdentifierConverter<com.hp.hpl.jena.rdf.model.Resource,FedoraResource> idTranslator,
JcrRdfTools jcrRdfTools)
Construct a statement listener within the given session
|
JcrPropertyStatementListener(IdentifierConverter<com.hp.hpl.jena.rdf.model.Resource,FedoraResource> idTranslator,
javax.jcr.Session session)
Construct a statement listener within the given session
|
Modifier and Type | Method and Description |
---|---|
void |
addedStatement(com.hp.hpl.jena.rdf.model.Statement input)
When a statement is added to the graph, serialize it to a JCR property
|
void |
assertNoExceptions()
Assert that no exceptions were thrown while this listener was processing change
|
void |
removedStatement(com.hp.hpl.jena.rdf.model.Statement s)
When a statement is removed, remove it from the JCR properties
|
public JcrPropertyStatementListener(IdentifierConverter<com.hp.hpl.jena.rdf.model.Resource,FedoraResource> idTranslator, javax.jcr.Session session)
idTranslator
- session
- public JcrPropertyStatementListener(IdentifierConverter<com.hp.hpl.jena.rdf.model.Resource,FedoraResource> idTranslator, JcrRdfTools jcrRdfTools)
idTranslator
- public void addedStatement(com.hp.hpl.jena.rdf.model.Statement input)
addedStatement
in interface com.hp.hpl.jena.rdf.model.ModelChangedListener
addedStatement
in class com.hp.hpl.jena.rdf.listeners.StatementListener
input
- public void removedStatement(com.hp.hpl.jena.rdf.model.Statement s)
removedStatement
in interface com.hp.hpl.jena.rdf.model.ModelChangedListener
removedStatement
in class com.hp.hpl.jena.rdf.listeners.StatementListener
s
- public void assertNoExceptions() throws MalformedRdfException
MalformedRdfException
Copyright © 2013-2015 DuraSpace, Inc.. All Rights Reserved.