org.aksw.commons.owlapi
Class StringConverter
java.lang.Object
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)
|
StringConverter
public StringConverter(org.semanticweb.owlapi.model.OWLOntology ontology)
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.