edu.stanford.smi.protegex.owl.model.visitor
Class VisitorUtil

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.model.visitor.VisitorUtil

public class VisitorUtil
extends Object

User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Jan 8, 2005

matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm


Constructor Summary
VisitorUtil()
           
 
Method Summary
static void visitRDFResources(Collection collection, OWLModelVisitor visitor)
          Visits the RDFResources in the specified collection using the specified visitor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisitorUtil

public VisitorUtil()
Method Detail

visitRDFResources

public static void visitRDFResources(Collection collection,
                                     OWLModelVisitor visitor)
Visits the RDFResources in the specified collection using the specified visitor. Note that this method does a type cast of everything in the collection to RDFResource, so the specified collection should only contain instances of RDFResource.

Parameters:
collection - A Collection that only contains instances of RDFResource.