1 5 6 package org.joseki.server.processors.fetch; 7 8 import org.joseki.util.Closure ; 9 import org.joseki.server.module.Loadable ; 10 import com.hp.hpl.jena.rdf.model.*; 11 import java.util.Set ; 12 13 22 23 public class FetchClosure implements FetchHandler, Loadable 24 { 25 public String getInterfaceURI() { return org.joseki.vocabulary.JosekiVocab.fetchClosure ; } 26 27 public void init(Resource binding, Resource implementation) {} 28 29 30 public boolean handles(Resource r, Set types){ return true ;} 31 public void fetch(Resource r, Set types, Model acc) 32 { 33 Closure.closure(r, false, acc) ; 34 } 35 } 36 37 38 64 65 | Popular Tags |