|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.owl.util.QNameShortFormProvider
public class QNameShortFormProvider
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 18-Apr-2007
A short form provider which creates QNames for entities
| Constructor Summary | |
|---|---|
QNameShortFormProvider()
Creates a QNameShortFormProvider where namespace prefix mappings will automatically be generated. |
|
QNameShortFormProvider(java.util.Map<java.lang.String,java.lang.String> prefix2NamespaceMap)
Creates a QNameShortFormProvider where the specified map overrides any auto-generated prefix namespace mappings. |
|
| Method Summary | |
|---|---|
void |
dispose()
Disposes of the short form proivider. |
java.lang.String |
getShortForm(OWLEntity entity)
Gets the short form for the specified entity. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QNameShortFormProvider()
public QNameShortFormProvider(java.util.Map<java.lang.String,java.lang.String> prefix2NamespaceMap)
prefix2NamespaceMap - The map which contains a prefix -> namespace
mapping.| Method Detail |
|---|
public java.lang.String getShortForm(OWLEntity entity)
ShortFormProvider
getShortForm in interface ShortFormProviderentity - The entity.
public void dispose()
ShortFormProvider
dispose in interface ShortFormProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||