Protégé-OWL 3.3.1

edu.stanford.smi.protegex.owl.model.patcher
Class DefaultOWLModelPatcher

java.lang.Object
  extended by edu.stanford.smi.protegex.owl.model.patcher.DefaultOWLModelPatcher
All Implemented Interfaces:
OWLModelPatcher

public class DefaultOWLModelPatcher
extends Object
implements OWLModelPatcher

Author:
Holger Knublauch

Constructor Summary
DefaultOWLModelPatcher(OWLModel owlModel)
           
 
Method Summary
 void patch(Iterator resources, String namespace)
          Adds "missing" triples for untyped resources.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultOWLModelPatcher

public DefaultOWLModelPatcher(OWLModel owlModel)
Method Detail

patch

public void patch(Iterator resources,
                  String namespace)
Description copied from interface: OWLModelPatcher
Adds "missing" triples for untyped resources. This method shall create a new TripleStore for the given namespace and then add rdf:type triples into it for all resources from a given Iterator. Note that the Iterator may also contain resources from other namespaces, which shall be ignored.

Specified by:
patch in interface OWLModelPatcher
Parameters:
resources - an Iterator of untyped RDFResources
namespace - the namespace to patch

Protégé-OWL 3.3.1

Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.