org.aksw.commons.owlapi
Class StringConverter

java.lang.Object
  extended by org.aksw.commons.owlapi.StringConverter

public class StringConverter
extends Object

Author:
Sebastian Hellmann - http://bis.informatik.uni-leipzig.de/SebastianHellmann Time: 21.09.2010 09:03:30

Constructor Summary
StringConverter(org.semanticweb.owlapi.model.OWLOntology ontology)
           
 
Method Summary
 String toString()
          Defaults to turtle
 String toString(org.semanticweb.owlapi.model.OWLOntologyFormat format)
           
 String toStringAsManchesterOWLSyntax()
           
 String toStringAsManchesterOWLSyntax(Map<String,String> prefixToNamespaceMap)
           
 String toStringAsRDFXML()
           
 String toStringAsTurtle()
           
 String toStringHumanReadable(Map<String,String> prefixMap)
          tries to give the best possible representation for humans currently removes all extra lines and the prefixes from the MOS string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringConverter

public StringConverter(org.semanticweb.owlapi.model.OWLOntology ontology)
Method Detail

toString

public String toString()
Defaults to turtle

Overrides:
toString in class Object
Returns:

toStringAsTurtle

public String toStringAsTurtle()

toStringAsRDFXML

public String toStringAsRDFXML()

toStringAsManchesterOWLSyntax

public String toStringAsManchesterOWLSyntax()

toStringAsManchesterOWLSyntax

public String toStringAsManchesterOWLSyntax(Map<String,String> prefixToNamespaceMap)

toString

public String toString(org.semanticweb.owlapi.model.OWLOntologyFormat format)

toStringHumanReadable

public String toStringHumanReadable(Map<String,String> prefixMap)
tries to give the best possible representation for humans currently removes all extra lines and the prefixes from the MOS string

Returns:


Copyright © 2012. All Rights Reserved.