public class OntologyNetworkConfigurationUtils extends Object
This is the helper class for parsing the ONM configuration ontology. The configuration ontology should import the following:
and must use the following vocabs:
| Constructor and Description |
|---|
OntologyNetworkConfigurationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
getCoreOntologies(org.semanticweb.owlapi.model.OWLOntology config,
String scopeIRI)
Returns all the IRIs to be loaded in the core space of the scope
|
static String[] |
getCustomOntologies(org.semanticweb.owlapi.model.OWLOntology config,
String scopeIRI)
Returns all the resources to be part of the Custom space
|
static String[] |
getScopes(org.semanticweb.owlapi.model.OWLOntology config)
To get all the instances of Scope in this configuration
|
static String[] |
getScopesToActivate(org.semanticweb.owlapi.model.OWLOntology config)
Get the list of scopes to activate on startup
|
public static String[] getScopesToActivate(org.semanticweb.owlapi.model.OWLOntology config)
config - public static String[] getScopes(org.semanticweb.owlapi.model.OWLOntology config)
config - public static String[] getCoreOntologies(org.semanticweb.owlapi.model.OWLOntology config, String scopeIRI)
config - scopeIRI - Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.