edu.stanford.smi.protegex.owl.model.classparser.compact
Class CompactOWLClassParser
java.lang.Object
edu.stanford.smi.protegex.owl.model.classparser.compact.CompactOWLClassParser
- All Implemented Interfaces:
- OWLClassParser
- public class CompactOWLClassParser
- extends Object
- implements OWLClassParser
- Author:
- Holger Knublauch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompactOWLClassParser
public CompactOWLClassParser()
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)