|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.obolibrary.macro.ManchesterSyntaxTool
public class ManchesterSyntaxTool
wrapper for parsing Manchester Syntax
Constructor Summary | |
---|---|
ManchesterSyntaxTool(org.semanticweb.owlapi.model.OWLOntology inputOntology)
Create a new parser instance for the given ontology. |
|
ManchesterSyntaxTool(org.semanticweb.owlapi.model.OWLOntology inputOntology,
Collection<org.semanticweb.owlapi.model.OWLOntology> auxiliaryOntologies)
Create a new parser instance for the given ontologies. |
|
ManchesterSyntaxTool(org.semanticweb.owlapi.model.OWLOntology inputOntology,
Collection<org.semanticweb.owlapi.model.OWLOntology> auxiliaryOntologies,
boolean resolveEntities)
Create a new parser instance for the given ontologies. |
Method Summary | |
---|---|
void |
dispose()
Call this method to dispose the internal data structures. |
String |
getId(org.semanticweb.owlapi.model.IRI iri)
Translate the IRI into the short form as expected by the parser. |
String |
getId(org.semanticweb.owlapi.model.OWLEntity entity)
Translate the OWLEntity identifier into the short form as
expected by the parser. |
org.semanticweb.owlapi.model.OWLClassExpression |
parseManchesterExpression(String expression)
Parse a class expression in Manchester syntax. |
Set<org.coode.owlapi.manchesterowlsyntax.OntologyAxiomPair> |
parseManchesterExpressionFrames(String expression)
Parse frame expressions in Manchester syntax. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ManchesterSyntaxTool(org.semanticweb.owlapi.model.OWLOntology inputOntology)
inputOntology
- public ManchesterSyntaxTool(org.semanticweb.owlapi.model.OWLOntology inputOntology, Collection<org.semanticweb.owlapi.model.OWLOntology> auxiliaryOntologies)
inputOntology
- auxiliaryOntologies
- set of additional ontologies or nullpublic ManchesterSyntaxTool(org.semanticweb.owlapi.model.OWLOntology inputOntology, Collection<org.semanticweb.owlapi.model.OWLOntology> auxiliaryOntologies, boolean resolveEntities)
inputOntology
- auxiliaryOntologies
- set of additional ontologies or nullresolveEntities
- set to true, to enable resolution of OWLObjects via their identifier or rdfs:labelMethod Detail |
---|
public Set<org.coode.owlapi.manchesterowlsyntax.OntologyAxiomPair> parseManchesterExpressionFrames(String expression) throws org.semanticweb.owlapi.expression.ParserException
expression
-
OntologyAxiomPair
org.semanticweb.owlapi.expression.ParserException
public org.semanticweb.owlapi.model.OWLClassExpression parseManchesterExpression(String expression) throws org.semanticweb.owlapi.expression.ParserException
expression
-
OWLClassExpression
org.semanticweb.owlapi.expression.ParserException
public String getId(org.semanticweb.owlapi.model.IRI iri)
IRI
into the short form as expected by the parser.
iri
-
public String getId(org.semanticweb.owlapi.model.OWLEntity entity)
OWLEntity
identifier into the short form as
expected by the parser.
entity
-
public void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |