1 /* 2 ORDI - Ontology Repository and Data Integration 3 4 Copyright (c) 2004-2007, OntoText Lab. / SIRMA 5 6 This library is free software; you can redistribute it and/or modify it under 7 the terms of the GNU Lesser General Public License as published by the Free 8 Software Foundation; either version 2.1 of the License, or (at your option) 9 any later version. 10 This library is distributed in the hope that it will be useful, but WITHOUT 11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 12 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 13 details. 14 You should have received a copy of the GNU Lesser General Public License along 15 with this library; if not, write to the Free Software Foundation, Inc., 16 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 */ 18 package com.ontotext.ordi.wsmo4rdf; 19 20 import org.openrdf.model.URI; 21 import org.openrdf.model.Value; 22 23 /** 24 * This interface dispatches tripleset statements. 25 * 26 * @author vassil 27 * 28 */ 29 public interface WSMLTripleHandler { 30 31 /** 32 * Method to dispatch a tripleset. 33 * 34 * @param subject 35 * of the statement 36 * @param predicate 37 * of the statement 38 * @param object 39 * of statement 40 * @param namedGraph 41 * of the statement 42 * @param tripleSets 43 * of the statemenet 44 */ 45 public void handleTriple(URI subject, URI predicate, Value object, 46 URI namedGraph, URI... tripleSets); 47 48 }