Example #1
0
  public SWRLTableModel(OWLModel owlModel) {
    this.owlModel = owlModel;
    factory = new SWRLFactory(owlModel);

    for (Object o : factory.getImps()) if (o instanceof SWRLImp) imps.add((SWRLImp) o);

    sortImps();
    initListeners();
  }
Example #2
0
 private void addReferencingImps(RDFResource rdfResource) {
   for (SWRLImp imp : factory.getImps()) if (isSuitable(imp)) imps.add(imp);
 } // addReferencingImps