owltools.gaf.lego
Class ManchesterSyntaxTool

java.lang.Object
  extended by owltools.gaf.lego.ManchesterSyntaxTool

public class ManchesterSyntaxTool
extends Object

Wrapper for parsing OWL Manchester Syntax using a OWLGraphWrapper. This is a simplified re-implementation.


Constructor Summary
ManchesterSyntaxTool(OWLGraphWrapper graph, boolean createClasses)
          Create new instance.
 
Method Summary
 org.semanticweb.owlapi.model.OWLClassExpression parseManchesterExpression(String expression)
          Parse a class expression in Manchester syntax.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.