public class StringConverter extends Object
| Constructor and Description |
|---|
StringConverter(org.semanticweb.owlapi.model.OWLOntology ontology) |
| Modifier and Type | Method and Description |
|---|---|
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
|
public StringConverter(org.semanticweb.owlapi.model.OWLOntology ontology)
public String toStringAsTurtle()
public String toStringAsRDFXML()
public String toStringAsManchesterOWLSyntax()
public String toStringAsManchesterOWLSyntax(Map<String,String> prefixToNamespaceMap)
public String toString(org.semanticweb.owlapi.model.OWLOntologyFormat format)
Copyright © 2013. All Rights Reserved.