1 10 package com.hp.hpl.jena.reasoner.rulesys; 11 12 import com.hp.hpl.jena.reasoner.InfGraph; 13 import com.hp.hpl.jena.util.iterator.ClosableIterator; 14 import com.hp.hpl.jena.graph.*; 15 16 25 public interface RuleContext { 26 30 public BindingEnvironment getEnv(); 31 32 36 public InfGraph getGraph(); 37 38 42 public Rule getRule(); 43 44 48 public void setRule(Rule rule); 49 50 54 public boolean contains(Triple t); 55 56 60 public boolean contains(Node s, Node p, Node o); 61 62 66 public ClosableIterator find(Node s, Node p, Node o); 67 68 71 public void silentAdd(Triple t); 72 73 76 public void add(Triple t); 77 78 81 public void remove(Triple t); 82 } 83 84 85 114 | Popular Tags |