public class ManchesterOWLSyntaxPrefixNameShortFormProvider extends Object implements ShortFormProvider
Constructor and Description |
---|
ManchesterOWLSyntaxPrefixNameShortFormProvider(DefaultPrefixManager prefixManager)
Constructs a short form provider that uses the specified prefix mappings.
|
ManchesterOWLSyntaxPrefixNameShortFormProvider(OWLOntologyFormat format)
Constructs a short form provider that reuses any prefix name mappings
from the specified ontology format.
|
ManchesterOWLSyntaxPrefixNameShortFormProvider(OWLOntologyManager man,
OWLOntology ont)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of the short form proivider.
|
PrefixManager |
getPrefixManager() |
String |
getShortForm(IRI iri)
Gets the short form for an IRI.
|
String |
getShortForm(OWLEntity entity)
Gets the short form for the specified entity.
|
@Deprecated public ManchesterOWLSyntaxPrefixNameShortFormProvider(OWLOntologyManager man, OWLOntology ont)
man
- The manageront
- The ontologypublic ManchesterOWLSyntaxPrefixNameShortFormProvider(OWLOntologyFormat format)
format
- The format from which prefix name mappings will be reusedpublic ManchesterOWLSyntaxPrefixNameShortFormProvider(DefaultPrefixManager prefixManager)
prefixManager
- A prefix manager which will be used to obtain prefix mappingspublic PrefixManager getPrefixManager()
public String getShortForm(OWLEntity entity)
ShortFormProvider
getShortForm
in interface ShortFormProvider
entity
- The entity.public String getShortForm(IRI iri)
iri
- The IRIpublic void dispose()
ShortFormProvider
dispose
in interface ShortFormProvider
Copyright © 2017 The University of Manchester. All Rights Reserved.