public class QNameShortFormProvider extends Object implements ShortFormProvider
| Constructor and Description |
|---|
QNameShortFormProvider()
Creates a QNameShortFormProvider where namespace prefix mappings will
automatically be generated.
|
QNameShortFormProvider(Map<String,String> prefix2NamespaceMap)
Creates a QNameShortFormProvider where the specified map overrides any
auto-generated prefix namespace mappings.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes of the short form proivider.
|
String |
getShortForm(OWLEntity entity)
Gets the short form for the specified entity.
|
public QNameShortFormProvider()
public QNameShortFormProvider(Map<String,String> prefix2NamespaceMap)
prefix2NamespaceMap - The map which contains a prefix to namespace mapping. The prefix
must not have a trailing ":"; if one is there, it will be removedpublic String getShortForm(OWLEntity entity)
ShortFormProvidergetShortForm in interface ShortFormProviderentity - The entity.public void dispose()
ShortFormProviderdispose in interface ShortFormProviderCopyright © 2014 The University of Manchester. All Rights Reserved.