Class OWLObjectComplementOfExtractor
java.lang.Object
org.semanticweb.owlapi.normalform.OWLObjectComplementOfExtractor
- All Implemented Interfaces:
OWLClassExpressionVisitor
,OWLClassVisitorBase
,OWLVisitorBase
Extracts the parts of a class expression which are negated. For example, A
and not (B or C or not D) would extract {(B or C or notD), D}
- Since:
- 2.2.0
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the complemented class expressions.void
reset()
clear the visitor.void
visit OWLObjectAllValuesFrom typevoid
visit OWLObjectComplementOf typevoid
visit OWLObjectExactCardinality typevoid
visit OWLObjectIntersectionOf typevoid
visit OWLObjectMaxCardinality typevoid
visit OWLObjectMinCardinality typevoid
visit OWLObjectSomeValuesFrom typevoid
visit OWLObjectUnionOf typeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.semanticweb.owlapi.model.OWLClassExpressionVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit
Methods inherited from interface org.semanticweb.owlapi.model.OWLClassVisitorBase
visit
Methods inherited from interface org.semanticweb.owlapi.model.OWLVisitorBase
doDefault, getDefaultReturnValue, handleDefault
-
Constructor Details
-
OWLObjectComplementOfExtractor
public OWLObjectComplementOfExtractor()
-
-
Method Details
-
getComplementedClassExpressions
Gets the complemented class expressions.- Parameters:
desc
- the class to look for- Returns:
- the complemented expressions
-
reset
public void reset()clear the visitor. -
visit
Description copied from interface:OWLClassExpressionVisitor
visit OWLObjectAllValuesFrom type- Specified by:
visit
in interfaceOWLClassExpressionVisitor
- Parameters:
ce
- ce to visit
-
visit
Description copied from interface:OWLClassExpressionVisitor
visit OWLObjectComplementOf type- Specified by:
visit
in interfaceOWLClassExpressionVisitor
- Parameters:
ce
- ce to visit
-
visit
Description copied from interface:OWLClassExpressionVisitor
visit OWLObjectExactCardinality type- Specified by:
visit
in interfaceOWLClassExpressionVisitor
- Parameters:
ce
- ce to visit
-
visit
Description copied from interface:OWLClassExpressionVisitor
visit OWLObjectIntersectionOf type- Specified by:
visit
in interfaceOWLClassExpressionVisitor
- Parameters:
ce
- ce to visit
-
visit
Description copied from interface:OWLClassExpressionVisitor
visit OWLObjectMaxCardinality type- Specified by:
visit
in interfaceOWLClassExpressionVisitor
- Parameters:
ce
- ce to visit
-
visit
Description copied from interface:OWLClassExpressionVisitor
visit OWLObjectMinCardinality type- Specified by:
visit
in interfaceOWLClassExpressionVisitor
- Parameters:
ce
- ce to visit
-
visit
Description copied from interface:OWLClassExpressionVisitor
visit OWLObjectSomeValuesFrom type- Specified by:
visit
in interfaceOWLClassExpressionVisitor
- Parameters:
ce
- ce to visit
-
visit
Description copied from interface:OWLClassExpressionVisitor
visit OWLObjectUnionOf type- Specified by:
visit
in interfaceOWLClassExpressionVisitor
- Parameters:
ce
- ce to visit
-