public class ParserFactory extends Object implements OPPLPatternParser.AbstractParserFactory
| Constructor and Description |
|---|
ParserFactory(org.semanticweb.owlapi.model.OWLOntology ontology,
org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager) |
| Modifier and Type | Method and Description |
|---|---|
OPPLPatternParser |
build(Collection<? extends String> visitedPatterns,
ErrorListener errorListener)
Builds an OPPLPatternParser attaching an ErrorListener to it.
|
OPPLPatternParser |
build(ErrorListener errorListener)
Builds an OPPLPatternParser attaching an ErrorListener to it.
|
org.semanticweb.owlapi.model.OWLOntology |
getOntology() |
org.semanticweb.owlapi.model.OWLOntologyManager |
getOntologyManager() |
AbstractPatternModelFactory |
getPatternFactory()
Retrieves an instance AbstractPatternModelFactory that this
AbstractParserFactory provides.
|
public ParserFactory(org.semanticweb.owlapi.model.OWLOntology ontology,
org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager)
ontology - ontologyontologyManager - ontologyManagerpublic OPPLPatternParser build(ErrorListener errorListener)
OPPLPatternParser.AbstractParserFactorybuild in interface OPPLPatternParser.AbstractParserFactoryerrorListener - The ErrorListener. Cannot be null.public OPPLPatternParser build(Collection<? extends String> visitedPatterns, ErrorListener errorListener)
OPPLPatternParser.AbstractParserFactorybuild in interface OPPLPatternParser.AbstractParserFactoryvisitedPatterns - The Collection of visited patterns. Cannot be null
.errorListener - The ErrorListener. Cannot be null.public AbstractPatternModelFactory getPatternFactory()
OPPLPatternParser.AbstractParserFactorygetPatternFactory in interface OPPLPatternParser.AbstractParserFactorypublic org.semanticweb.owlapi.model.OWLOntologyManager getOntologyManager()
public org.semanticweb.owlapi.model.OWLOntology getOntology()
Copyright © 2015 The University of Manchester. All Rights Reserved.