org.coode.owlapi.rdf.rdfxml
Class RDFXMLRenderer

java.lang.Object
  extended by org.coode.owlapi.rdf.renderer.RDFRendererBase
      extended by org.coode.owlapi.rdf.rdfxml.RDFXMLRenderer

public class RDFXMLRenderer
extends RDFRendererBase

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 06-Dec-2006


Nested Class Summary
 
Nested classes/interfaces inherited from class org.coode.owlapi.rdf.renderer.RDFRendererBase
RDFRendererBase.TripleComparator
 
Field Summary
 
Fields inherited from class org.coode.owlapi.rdf.renderer.RDFRendererBase
manager, ontology, prettyPrintedTypes, RENDER_DECLARATION_AXIOMS_KEY
 
Constructor Summary
RDFXMLRenderer(OWLOntologyManager manager, OWLOntology ontology, java.io.Writer w)
           
RDFXMLRenderer(OWLOntologyManager manager, OWLOntology ontology, java.io.Writer w, OWLOntologyFormat format)
           
 
Method Summary
protected  void beginDocument()
           
protected  void endDocument()
           
 void render(RDFResourceNode node)
           
protected  void writeAnnotationPropertyComment(OWLAnnotationProperty prop)
           
protected  void writeBanner(java.lang.String name)
           
protected  void writeClassComment(OWLClass cls)
           
protected  void writeDataPropertyComment(OWLDataProperty prop)
           
protected  void writeDatatypeComment(OWLDatatype datatype)
           
protected  void writeIndividualComments(OWLNamedIndividual ind)
           
protected  void writeObjectPropertyComment(OWLObjectProperty prop)
           
 
Methods inherited from class org.coode.owlapi.rdf.renderer.RDFRendererBase
beginObject, endObject, getGraph, getOntology, isObjectList, render, renderAnonRoots, toJavaList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDFXMLRenderer

public RDFXMLRenderer(OWLOntologyManager manager,
                      OWLOntology ontology,
                      java.io.Writer w)

RDFXMLRenderer

public RDFXMLRenderer(OWLOntologyManager manager,
                      OWLOntology ontology,
                      java.io.Writer w,
                      OWLOntologyFormat format)
Method Detail

beginDocument

protected void beginDocument()
                      throws java.io.IOException
Specified by:
beginDocument in class RDFRendererBase
Throws:
java.io.IOException

endDocument

protected void endDocument()
                    throws java.io.IOException
Specified by:
endDocument in class RDFRendererBase
Throws:
java.io.IOException

writeIndividualComments

protected void writeIndividualComments(OWLNamedIndividual ind)
                                throws java.io.IOException
Specified by:
writeIndividualComments in class RDFRendererBase
Throws:
java.io.IOException

writeClassComment

protected void writeClassComment(OWLClass cls)
                          throws java.io.IOException
Specified by:
writeClassComment in class RDFRendererBase
Throws:
java.io.IOException

writeDataPropertyComment

protected void writeDataPropertyComment(OWLDataProperty prop)
                                 throws java.io.IOException
Specified by:
writeDataPropertyComment in class RDFRendererBase
Throws:
java.io.IOException

writeObjectPropertyComment

protected void writeObjectPropertyComment(OWLObjectProperty prop)
                                   throws java.io.IOException
Specified by:
writeObjectPropertyComment in class RDFRendererBase
Throws:
java.io.IOException

writeAnnotationPropertyComment

protected void writeAnnotationPropertyComment(OWLAnnotationProperty prop)
                                       throws java.io.IOException
Specified by:
writeAnnotationPropertyComment in class RDFRendererBase
Throws:
java.io.IOException

writeDatatypeComment

protected void writeDatatypeComment(OWLDatatype datatype)
                             throws java.io.IOException
Specified by:
writeDatatypeComment in class RDFRendererBase
Throws:
java.io.IOException

writeBanner

protected void writeBanner(java.lang.String name)
                    throws java.io.IOException
Specified by:
writeBanner in class RDFRendererBase
Throws:
java.io.IOException

render

public void render(RDFResourceNode node)
            throws java.io.IOException
Specified by:
render in class RDFRendererBase
Throws:
java.io.IOException