sbrt.shell.io
Class XmlFileFactory

java.lang.Object
  extended by sbrt.shell.io.XmlFileFactory

public class XmlFileFactory
extends java.lang.Object

This class is used to create DOM objects from XML files.

Author:
This class was written and documented by Jeremiah Wright while in the Wagner lab.

Constructor Summary
XmlFileFactory()
           
 
Method Summary
static org.w3c.dom.Document getDOM(java.lang.String xmlFileName)
          Returns a DOM object for the file with the specified name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlFileFactory

public XmlFileFactory()
Method Detail

getDOM

public static org.w3c.dom.Document getDOM(java.lang.String xmlFileName)
Returns a DOM object for the file with the specified name.

Parameters:
xmlFileName - the name of the XML file.
Returns:
a DOM object for the file with the specified name.
Throws:
ApplicationException - if any error occurs while reading or parsing the specified file.