net.sourceforge.fluxion.spring.xml
Class FluxionOWLXMLWriter

java.lang.Object
  extended by org.coode.owlapi.owlxml.renderer.OWLXMLWriter
      extended by net.sourceforge.fluxion.spring.xml.FluxionOWLXMLWriter

public class FluxionOWLXMLWriter
extends org.coode.owlapi.owlxml.renderer.OWLXMLWriter

Extension of OWLXMLWriter which generates a JDOM Document internally rather than delegating to a writer class

Author:
Tom Oinn (original), Tony Burdett, Rob Davey

Constructor Summary
FluxionOWLXMLWriter(org.semanticweb.owl.model.OWLOntology o)
           
 
Method Summary
 org.jdom.Element detachElement()
           
 void endDocument()
           
 void startDocument(org.semanticweb.owl.model.OWLOntology ontology)
           
 void writeAnnotationURIAttribute(java.net.URI uri)
           
 void writeCardinalityAttribute(int cardinality)
           
 void writeDatatypeAttribute(java.net.URI datatype)
           
 void writeEndElement()
           
 void writeFacetAttribute(java.net.URI facetURI)
           
 void writeNameAttribute(java.net.URI uri)
           
 void writeStartElement(java.net.URI name)
           
 void writeTextContent(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FluxionOWLXMLWriter

public FluxionOWLXMLWriter(org.semanticweb.owl.model.OWLOntology o)
Method Detail

detachElement

public org.jdom.Element detachElement()

startDocument

public void startDocument(org.semanticweb.owl.model.OWLOntology ontology)
                   throws org.semanticweb.owl.io.OWLRendererException
Overrides:
startDocument in class org.coode.owlapi.owlxml.renderer.OWLXMLWriter
Throws:
org.semanticweb.owl.io.OWLRendererException

endDocument

public void endDocument()
Overrides:
endDocument in class org.coode.owlapi.owlxml.renderer.OWLXMLWriter

writeStartElement

public void writeStartElement(java.net.URI name)
Overrides:
writeStartElement in class org.coode.owlapi.owlxml.renderer.OWLXMLWriter

writeEndElement

public void writeEndElement()
Overrides:
writeEndElement in class org.coode.owlapi.owlxml.renderer.OWLXMLWriter

writeDatatypeAttribute

public void writeDatatypeAttribute(java.net.URI datatype)
Overrides:
writeDatatypeAttribute in class org.coode.owlapi.owlxml.renderer.OWLXMLWriter

writeNameAttribute

public void writeNameAttribute(java.net.URI uri)
Overrides:
writeNameAttribute in class org.coode.owlapi.owlxml.renderer.OWLXMLWriter

writeCardinalityAttribute

public void writeCardinalityAttribute(int cardinality)
Overrides:
writeCardinalityAttribute in class org.coode.owlapi.owlxml.renderer.OWLXMLWriter

writeTextContent

public void writeTextContent(java.lang.String text)
Overrides:
writeTextContent in class org.coode.owlapi.owlxml.renderer.OWLXMLWriter

writeFacetAttribute

public void writeFacetAttribute(java.net.URI facetURI)
Overrides:
writeFacetAttribute in class org.coode.owlapi.owlxml.renderer.OWLXMLWriter

writeAnnotationURIAttribute

public void writeAnnotationURIAttribute(java.net.URI uri)
Overrides:
writeAnnotationURIAttribute in class org.coode.owlapi.owlxml.renderer.OWLXMLWriter


Copyright © 2010. All Rights Reserved.