edu.lehigh.swat.hawk.core
Class OntWriter

java.lang.Object
  extended by edu.lehigh.swat.hawk.core.OntWriter
Direct Known Subclasses:
OwlRdfWriter

public abstract class OntWriter
extends java.lang.Object

Document writer, write the document to file. Must be subclassed by implementation, that output specific file formats.


Constructor Summary
OntWriter()
          Constructor
 
Method Summary
abstract  void write(java.io.OutputStream out, Document doc)
          write a document to the output
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OntWriter

public OntWriter()
Constructor

Method Detail

write

public abstract void write(java.io.OutputStream out,
                           Document doc)
                    throws java.lang.Exception
write a document to the output

Throws:
java.lang.Exception