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> prefix2Ns)
Creates a QNameShortFormProvider where the specified map overrides any
auto-generated prefix namespace mappings.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getShortForm(OWLEntity entity)
Gets the short form for the specified entity.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisposepublic QNameShortFormProvider()
public QNameShortFormProvider(Map<String,String> prefix2Ns)
prefix2Ns - 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.Copyright © 2020 The University of Manchester. All rights reserved.