org.semanticweb.owl.io
Class ToStringRenderer

java.lang.Object
  extended by org.semanticweb.owl.io.ToStringRenderer

public class ToStringRenderer
extends java.lang.Object

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 14-Jan-2008

A utility class which can be used by implementations to provide a toString rendering of OWL API objects. The idea is that this is pluggable.


Method Summary
static ToStringRenderer getInstance()
           
 OWLObjectRenderer getRenderer()
           
 java.lang.String getRendering(OWLObject object)
           
 void setRenderer(OWLObjectRenderer renderer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ToStringRenderer getInstance()

getRenderer

public OWLObjectRenderer getRenderer()

setRenderer

public void setRenderer(OWLObjectRenderer renderer)

getRendering

public java.lang.String getRendering(OWLObject object)