|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.semanticweb.owlapi.util.OWLObjectWalker<O>
public class OWLObjectWalker<O extends OWLObject>
Author: Matthew Horridge
The University Of Manchester
Information Management Group
Date:
29-Jul-2008
Constructor Summary | |
---|---|
OWLObjectWalker(java.util.Set<O> objects)
|
|
OWLObjectWalker(java.util.Set<O> objects,
boolean visitDuplicates)
|
Method Summary | |
---|---|
OWLAnnotation |
getAnnotation()
Gets the last annotation to be visited. |
OWLAxiom |
getAxiom()
Gets the last axiom to be visited. |
java.util.List<OWLClassExpression> |
getClassExpressionPath()
Gets the current class expression path. |
java.util.List<OWLDataRange> |
getDataRangePath()
Gets the current data range path. |
OWLOntology |
getOntology()
Gets the last ontology to be visited. |
boolean |
isFirstClassExpressionInPath(OWLClassExpression classExpression)
Determines if a particular class expression is the first (or root) class expression in the current class expression path |
void |
walkStructure(OWLObjectVisitorEx visitor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OWLObjectWalker(java.util.Set<O> objects)
public OWLObjectWalker(java.util.Set<O> objects, boolean visitDuplicates)
Method Detail |
---|
public void walkStructure(OWLObjectVisitorEx visitor)
public OWLOntology getOntology()
public OWLAxiom getAxiom()
null
if an axiom has not be visitedpublic OWLAnnotation getAnnotation()
null
)public java.util.List<OWLClassExpression> getClassExpressionPath()
public boolean isFirstClassExpressionInPath(OWLClassExpression classExpression)
classExpression
- The class expression
true
if the specified class expression is the first class expression
in the current class expression path, otherwise false
(false
if the
path is empty)public java.util.List<OWLDataRange> getDataRangePath()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |