Package org.semanticweb.owlapi.util
Class OWLObjectComponentCollector
java.lang.Object
org.semanticweb.owlapi.util.AbstractCollectorEx<OWLObject>
org.semanticweb.owlapi.util.OWLObjectComponentCollector
- All Implemented Interfaces:
OWLAnnotationAxiomVisitorEx<Collection<OWLObject>>
,OWLAnnotationObjectVisitorEx<Collection<OWLObject>>
,OWLAnnotationValueVisitorEx<Collection<OWLObject>>
,OWLAnonymousIndividualVisitorExBase<Collection<OWLObject>>
,OWLAxiomVisitorEx<Collection<OWLObject>>
,OWLClassExpressionVisitorEx<Collection<OWLObject>>
,OWLClassVisitorExBase<Collection<OWLObject>>
,OWLDataEntityVisitorExBase<Collection<OWLObject>>
,OWLDataVisitorEx<Collection<OWLObject>>
,OWLEntityVisitorEx<Collection<OWLObject>>
,OWLIndividualEntityVisitorExBase<Collection<OWLObject>>
,OWLIndividualVisitorEx<Collection<OWLObject>>
,OWLLiteralVisitorExBase<Collection<OWLObject>>
,OWLLogicalAxiomVisitorEx<Collection<OWLObject>>
,OWLNamedObjectVisitorEx<Collection<OWLObject>>
,OWLObjectVisitorEx<Collection<OWLObject>>
,OWLPropertyEntityVisitorExBase<Collection<OWLObject>>
,OWLPropertyExpressionVisitorEx<Collection<OWLObject>>
,OWLVisitorExBase<Collection<OWLObject>>
,SWRLObjectVisitorEx<Collection<OWLObject>>
,SWRLRuleVisitorExBase<Collection<OWLObject>>
- Since:
- 2.2.0
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the default return value for this visitor.getComponents
(OWLObject object) A convenience method that obtains the components of an OWL object.visit OWLAnnotation typevisit OWLAnnotationAssertionAxiom typevisit OWLDataAllValuesFrom typevisit OWLDataExactCardinality typevisit
(OWLDataHasValue ce) visit OWLDataHasValue typevisit OWLDataMaxCardinality typevisit OWLDataMinCardinality typevisit OWLDataPropertyDomainAxiom typevisit OWLDataSomeValuesFrom typevisit
(OWLLiteral l) visit OWLLiteral typevisit
(OWLOntology ontology) visit OWLOntology typevisit
(SWRLBuiltInAtom node) visit SWRLBuiltInAtom typevisit SWRLDifferentIndividualsAtom typevisit
(SWRLSameIndividualAtom node) visit SWRLSameIndividualAtom typevisit
(SWRLVariable node) visit SWRLVariable typeMethods inherited from class org.semanticweb.owlapi.util.AbstractCollectorEx
getObjects
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.semanticweb.owlapi.model.OWLAnnotationAxiomVisitorEx
visit, visit, visit
Methods inherited from interface org.semanticweb.owlapi.model.OWLAnnotationValueVisitorEx
visit
Methods inherited from interface org.semanticweb.owlapi.model.OWLAnonymousIndividualVisitorExBase
visit
Methods inherited from interface org.semanticweb.owlapi.model.OWLAxiomVisitorEx
visit, visit
Methods inherited from interface org.semanticweb.owlapi.model.OWLClassExpressionVisitorEx
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
Methods inherited from interface org.semanticweb.owlapi.model.OWLClassVisitorExBase
visit
Methods inherited from interface org.semanticweb.owlapi.model.OWLDataEntityVisitorExBase
visit
Methods inherited from interface org.semanticweb.owlapi.model.OWLDataVisitorEx
visit, visit, visit, visit, visit, visit
Methods inherited from interface org.semanticweb.owlapi.model.OWLIndividualEntityVisitorExBase
visit
Methods inherited from interface org.semanticweb.owlapi.model.OWLLogicalAxiomVisitorEx
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
Methods inherited from interface org.semanticweb.owlapi.model.OWLPropertyEntityVisitorExBase
visit, visit, visit
Methods inherited from interface org.semanticweb.owlapi.model.OWLPropertyExpressionVisitorEx
visit
Methods inherited from interface org.semanticweb.owlapi.model.SWRLObjectVisitorEx
visit, visit, visit, visit, visit, visit
Methods inherited from interface org.semanticweb.owlapi.model.SWRLRuleVisitorExBase
visit
-
Constructor Details
-
OWLObjectComponentCollector
public OWLObjectComponentCollector()Default constructor
-
-
Method Details
-
getComponents
A convenience method that obtains the components of an OWL object. Note that by definition, the components of the object include the object itself.- Parameters:
object
- The object whose components are to be obtained.- Returns:
- The component of the specified object.
-
doDefault
Description copied from interface:OWLVisitorExBase
Gets the default return value for this visitor. By default, the default isnull
- Specified by:
doDefault
in interfaceOWLVisitorExBase<Collection<OWLObject>>
- Overrides:
doDefault
in classAbstractCollectorEx<OWLObject>
- Parameters:
object
- The object that was visited.- Returns:
- The default return value
-
visit
Description copied from interface:OWLNamedObjectVisitorEx
visit OWLOntology type- Parameters:
ontology
- ontology to visit- Returns:
- visitor value
-
visit
Description copied from interface:OWLLiteralVisitorExBase
visit OWLLiteral type- Parameters:
l
- node to visit- Returns:
- visitor value
-
visit
Description copied from interface:OWLAnnotationObjectVisitorEx
visit OWLAnnotation type- Parameters:
l
- object to visit- Returns:
- visitor value
-
visit
Description copied from interface:OWLAnnotationAxiomVisitorEx
visit OWLAnnotationAssertionAxiom type- Parameters:
l
- object to visit- Returns:
- visitor value
-
visit
Description copied from interface:SWRLObjectVisitorEx
visit SWRLVariable type- Parameters:
node
- node to visit- Returns:
- visitor value
-
visit
Description copied from interface:SWRLObjectVisitorEx
visit SWRLBuiltInAtom type- Parameters:
node
- node to visit- Returns:
- visitor value
-
visit
Description copied from interface:OWLClassExpressionVisitorEx
visit OWLDataSomeValuesFrom type- Parameters:
ce
- ce to visit- Returns:
- visitor value
-
visit
Description copied from interface:OWLClassExpressionVisitorEx
visit OWLDataAllValuesFrom type- Parameters:
ce
- ce to visit- Returns:
- visitor value
-
visit
Description copied from interface:OWLClassExpressionVisitorEx
visit OWLDataHasValue type- Parameters:
ce
- ce to visit- Returns:
- visitor value
-
visit
Description copied from interface:OWLClassExpressionVisitorEx
visit OWLDataMinCardinality type- Parameters:
ce
- ce to visit- Returns:
- visitor value
-
visit
Description copied from interface:OWLClassExpressionVisitorEx
visit OWLDataMaxCardinality type- Parameters:
ce
- ce to visit- Returns:
- visitor value
-
visit
Description copied from interface:OWLClassExpressionVisitorEx
visit OWLDataExactCardinality type- Parameters:
ce
- ce to visit- Returns:
- visitor value
-
visit
Description copied from interface:OWLLogicalAxiomVisitorEx
visit OWLDataPropertyDomainAxiom type- Parameters:
ce
- axiom to visit- Returns:
- visitor value
-
visit
Description copied from interface:SWRLObjectVisitorEx
visit SWRLDifferentIndividualsAtom type- Parameters:
node
- node to visit- Returns:
- visitor value
-
visit
Description copied from interface:SWRLObjectVisitorEx
visit SWRLSameIndividualAtom type- Parameters:
node
- node to visit- Returns:
- visitor value
-