edu.stanford.smi.protegex.owl.model.classparser.manchester
Class ManchesterOWLClassParser
java.lang.Object
edu.stanford.smi.protegex.owl.model.classparser.manchester.ManchesterOWLClassParser
- All Implemented Interfaces:
- OWLClassParser
- public class ManchesterOWLClassParser
- extends Object
- implements OWLClassParser
User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Sep 5, 2005
matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManchesterOWLClassParser
public ManchesterOWLClassParser()
checkClass
public void checkClass(OWLModel owlModel,
String expression)
throws OWLClassParseException
- Description copied from interface:
OWLClassParser
- Performs a test of a given expression and throws an Exception if the expression
is currently invalid.
- Specified by:
checkClass
in interface OWLClassParser
- Parameters:
owlModel
- the OWLModel to operate onexpression
- the expression
- Throws:
OWLClassParseException
- if expression cannot be parsed
checkHasValueFiller
public void checkHasValueFiller(OWLModel owlModel,
String expression)
throws OWLClassParseException
- Specified by:
checkHasValueFiller
in interface OWLClassParser
- Throws:
OWLClassParseException
checkQuantifierFiller
public void checkQuantifierFiller(OWLModel owlModel,
String expression)
throws OWLClassParseException
- Specified by:
checkQuantifierFiller
in interface OWLClassParser
- Throws:
OWLClassParseException
parseClass
public RDFSClass parseClass(OWLModel owlModel,
String expression)
throws OWLClassParseException
- Specified by:
parseClass
in interface OWLClassParser
- Throws:
OWLClassParseException
parseHasValueFiller
public Object parseHasValueFiller(OWLModel owlModel,
String expression)
throws OWLClassParseException
- Specified by:
parseHasValueFiller
in interface OWLClassParser
- Throws:
OWLClassParseException
parseQuantifierFiller
public RDFResource parseQuantifierFiller(OWLModel owlModel,
String expression)
throws OWLClassParseException
- Specified by:
parseQuantifierFiller
in interface OWLClassParser
- Throws:
OWLClassParseException
wrapException
private OWLClassParseException wrapException(ParseException ex)