org.semanticweb.owl.io
Interface OWLObjectRenderer

All Known Implementing Classes:
SimpleRenderer

public interface OWLObjectRenderer

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 08-Oct-2007

A general purpose interface, implementations of which can be used to renderer OWL objects (e.g. class descriptions, axioms etc.) for presentation in user interfaces, colsole writing etc. etc. Many ontology renderers may also choose to implement this interface.


Method Summary
 java.lang.String render(OWLObject object)
          Renders the specified object.
 void setShortFormProvider(ShortFormProvider shortFormProvider)
          Sets the short form provider, which determines the short form that should be used for entities.
 

Method Detail

setShortFormProvider

void setShortFormProvider(ShortFormProvider shortFormProvider)
Sets the short form provider, which determines the short form that should be used for entities.

Parameters:
shortFormProvider - The short form provider to be used.

render

java.lang.String render(OWLObject object)
Renders the specified object.

Parameters:
object - The object to be rendered.
Returns:
A string that represents the rendering of the object.