uk.ac.kcl.cch.jb.xmlWriter
Class XmlFile

java.lang.Object
  extended byuk.ac.kcl.cch.jb.xmlWriter.XmlFile

public class XmlFile
extends Object

provides a simple-minded generic mechanism to create an XML file when the data is available in document order -- sort of the opposite to SAX. Not all possible components of an XML file can be created using this mechanism, but we have enough for our needs within Pliny!!

Author:
John Bradley

Constructor Summary
XmlFile(String fileName)
           
 
Method Summary
 void close()
           
 void open()
           
 void setDocumentElement(XmlElement element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlFile

public XmlFile(String fileName)
Method Detail

open

public void open()
          throws IOException
Throws:
IOException

setDocumentElement

public void setDocumentElement(XmlElement element)
                        throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException