public class PropertyChangedListener extends com.hp.hpl.jena.rdf.listeners.StatementListener
Constructor and Description |
---|
PropertyChangedListener(com.hp.hpl.jena.rdf.model.Resource property,
AtomicBoolean changed)
Create a listener for a particular RDF predicate.
|
Modifier and Type | Method and Description |
---|---|
void |
addedStatement(com.hp.hpl.jena.rdf.model.Statement s) |
void |
removedStatement(com.hp.hpl.jena.rdf.model.Statement s) |
public PropertyChangedListener(com.hp.hpl.jena.rdf.model.Resource property, AtomicBoolean changed)
property
- the predicate for which to watchchanged
- a value to keep track of whether the value changedpublic void addedStatement(com.hp.hpl.jena.rdf.model.Statement s)
addedStatement
in interface com.hp.hpl.jena.rdf.model.ModelChangedListener
addedStatement
in class com.hp.hpl.jena.rdf.listeners.StatementListener
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
Copyright © 2013–2016 DuraSpace, Inc.. All rights reserved.