uk.ac.man.cs.img.owl.io.tptp
Class Renderer
java.lang.Object
|
+--uk.ac.man.cs.img.owl.io.tptp.Renderer
- All Implemented Interfaces:
- Options, Renderer, ShortFormProvider
- public class Renderer
- extends Object
- implements Renderer, ShortFormProvider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STRING
public static int STRING
INTEGER
public static int INTEGER
OTHER
public static int OTHER
TYPES
public static int TYPES
typeNames
public String[] typeNames
Renderer
public Renderer()
setOptions
public void setOptions(Map map)
- Description copied from interface:
Options
- Set options for the object.
- Specified by:
setOptions in interface Options
- Parameters:
map - a Map value. Should contain a map from Strings to Objects.
getOptions
public Map getOptions()
- Description copied from interface:
Options
- Get options for the object.
- Specified by:
getOptions in interface Options
- Returns:
- a
Map value. Contains a map from Strings to Objects.
setNegate
public void setNegate(boolean b)
renderOntology
public void renderOntology(OWLOntology ontology,
Writer writer)
throws RendererException
- Description copied from interface:
Renderer
- Render the given ontology onto the writer using an appropriate
concrete representation
- Specified by:
renderOntology in interface Renderer
RendererException
renderOntology
public void renderOntology(OWLOntology ontology,
Writer writer,
List names,
List strings,
List integers,
List others,
List types)
throws RendererException
RendererException
mangle
public String mangle(String str)
determineType
public int determineType(URI uri)
throws OWLException
OWLException
typeFor
public String typeFor(OWLDataType odt)
throws OWLException
OWLException
indexForUnsupported
public int indexForUnsupported(String str)
determineType
public int determineType(OWLDataValue dv)
throws OWLException
OWLException
canonicalize
public String canonicalize(OWLDataValue dv)
throws OWLException
OWLException
shortForm
public String shortForm(OWLNamedObject ono)
throws OWLException
OWLException
shortForm
public String shortForm(URI uri)
- Specified by:
shortForm in interface ShortFormProvider
main
public static void main(String[] args)
cardinalityException
protected void cardinalityException(String message)
throws OWLException
OWLException
WonderWeb