org.semanticweb.owl.expression
Class ShortFormEntityChecker
java.lang.Object
org.semanticweb.owl.expression.ShortFormEntityChecker
- All Implemented Interfaces:
- OWLEntityChecker
public class ShortFormEntityChecker
- extends java.lang.Object
- implements OWLEntityChecker
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 28-Nov-2007
An entity checker that maps from string to entities using a bidirectional
short form provider.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShortFormEntityChecker
public ShortFormEntityChecker(BidirectionalShortFormProvider shortFormProvider)
- Creates a short form entity checker, which uses the specified bidirectional
short form provider to map entity name strings to entities.
- Parameters:
shortFormProvider
- The BidirectionalShortFormProvider that should be
used to perform the required mapping.
getOWLClass
public OWLClass getOWLClass(java.lang.String name)
- Specified by:
getOWLClass
in interface OWLEntityChecker
getOWLDataProperty
public OWLDataProperty getOWLDataProperty(java.lang.String name)
- Specified by:
getOWLDataProperty
in interface OWLEntityChecker
getOWLDataType
public OWLDataType getOWLDataType(java.lang.String name)
- Specified by:
getOWLDataType
in interface OWLEntityChecker
getOWLIndividual
public OWLIndividual getOWLIndividual(java.lang.String name)
- Specified by:
getOWLIndividual
in interface OWLEntityChecker
getOWLObjectProperty
public OWLObjectProperty getOWLObjectProperty(java.lang.String name)
- Specified by:
getOWLObjectProperty
in interface OWLEntityChecker