edu.stanford.smi.protegex.owl.model.visitor
Class VisitorUtil
java.lang.Object
edu.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VisitorUtil
public VisitorUtil()
visitRDFResources
public static void visitRDFResources(Collection collection,
OWLModelVisitor visitor)
- Visits the
RDFResource
s 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
.