owltools.gaf.lego
Class ManchesterSyntaxTool
java.lang.Object
owltools.gaf.lego.ManchesterSyntaxTool
public class ManchesterSyntaxTool
- extends Object
Wrapper for parsing OWL Manchester Syntax using a OWLGraphWrapper
.
This is a simplified re-implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManchesterSyntaxTool
public ManchesterSyntaxTool(OWLGraphWrapper graph,
boolean createClasses)
- Create new instance.
- Parameters:
graph
- createClasses
- if set to true, classes are generated even if they are not declared.
parseManchesterExpression
public org.semanticweb.owlapi.model.OWLClassExpression parseManchesterExpression(String expression)
throws org.semanticweb.owlapi.expression.ParserException
- Parse a class expression in Manchester syntax.
- Parameters:
expression
-
- Returns:
OWLClassExpression
- Throws:
org.semanticweb.owlapi.expression.ParserException
Copyright © 2010-2014. All Rights Reserved.