Package org.semanticweb.owlapi.util
Class AbstractCollectorEx<E>
java.lang.Object
org.semanticweb.owlapi.util.AbstractCollectorEx<E>
- Type Parameters:
E
- type returned
- All Implemented Interfaces:
OWLAnnotationAxiomVisitorEx<Collection<E>>
,OWLAnnotationObjectVisitorEx<Collection<E>>
,OWLAnnotationValueVisitorEx<Collection<E>>
,OWLAnonymousIndividualVisitorExBase<Collection<E>>
,OWLAxiomVisitorEx<Collection<E>>
,OWLClassExpressionVisitorEx<Collection<E>>
,OWLClassVisitorExBase<Collection<E>>
,OWLDataEntityVisitorExBase<Collection<E>>
,OWLDataVisitorEx<Collection<E>>
,OWLEntityVisitorEx<Collection<E>>
,OWLIndividualEntityVisitorExBase<Collection<E>>
,OWLIndividualVisitorEx<Collection<E>>
,OWLLiteralVisitorExBase<Collection<E>>
,OWLLogicalAxiomVisitorEx<Collection<E>>
,OWLNamedObjectVisitorEx<Collection<E>>
,OWLObjectVisitorEx<Collection<E>>
,OWLPropertyEntityVisitorExBase<Collection<E>>
,OWLPropertyExpressionVisitorEx<Collection<E>>
,OWLVisitorExBase<Collection<E>>
,SWRLObjectVisitorEx<Collection<E>>
,SWRLRuleVisitorExBase<Collection<E>>
- Direct Known Subclasses:
AnonymousIndividualCollector
,OWLClassExpressionCollector
,OWLEntityCollector
,OWLObjectComponentCollector
public abstract class AbstractCollectorEx<E>
extends Object
implements OWLObjectVisitorEx<Collection<E>>
A utility class that visits all components of classes and axioms; this base
class allows subclasses to choose elements of interest and override handling
of such elements.
- Since:
- 5.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the default return value for this visitor.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, visit
Methods inherited from interface org.semanticweb.owlapi.model.OWLAnnotationObjectVisitorEx
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, 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.OWLLiteralVisitorExBase
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, visit
Methods inherited from interface org.semanticweb.owlapi.model.OWLNamedObjectVisitorEx
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, visit, visit, visit, visit
Methods inherited from interface org.semanticweb.owlapi.model.SWRLRuleVisitorExBase
visit
-
Constructor Details
-
AbstractCollectorEx
- Parameters:
c
- collection to accumulate objects
-
-
Method Details
-
doDefault
Description copied from interface:OWLVisitorExBase
Gets the default return value for this visitor. By default, the default isnull
- Specified by:
doDefault
in interfaceOWLVisitorExBase<E>
- Parameters:
object
- The object that was visited.- Returns:
- The default return value
-
getObjects
- Returns:
- collected objects
-