| com.hp.hpl.jena.ontology.event.OntEventHandler
OntEventHandler | public interface OntEventHandler (Code) | |
A callback class modelled on Command Patern, that is
intended to perform some processing when a particular change to
an ontology model is detected. The event types themselves are
modelled via a simple vocabulary generated from an OWL document
(see ont-event.owl).
author: Ian Dickinson, HP Labs author: (email) version: CVS $Id: OntEventHandler.java,v 1.8 2008/01/02 12:10:36 andy_seaborne Exp $ |
action | public void action(Resource event, boolean add, Model source, RDFNode arg0, RDFNode arg1, RDFNode arg2)(Code) | | Handle the occurrence of the ontology event denoted by the given
event code. Standard OWL event contstants are defined in
.
Parameters: event - The event code as a resource Parameters: add - This event represents an addition to the model if true, or a deletion fromthe model if false. Parameters: source - The model that was the source of the event Parameters: arg0 - The first argument of the event; typically principal subject of the change Parameters: arg1 - Optional second argument to the event, or null Parameters: arg2 - Optional third argument to the event, or null |
|
|