Class XMLFileReader

java.lang.Object
org.castor.xmlctf.xmldiff.xml.XMLFileReader

public class XMLFileReader extends Object
A Utility class to read an XML document from a file into the XMLNode tree used by the XMLDiff class.
Since:
Castor 1.1
Version:
$Revision: 0000 $ $Date: 2007-01-11 00:00:00 -0600 (Thu, 11 Jan 2007) $
Author:
Edward Kuns
See Also:
  • Constructor Details

    • XMLFileReader

      public XMLFileReader(String filename)
      Creates a new XMLReader for the given URILocation.
      Parameters:
      filename - the URILocation to create this reader for.
  • Method Details

    • read

      public XMLNode read() throws IOException
      Reads an XML Document into an BaseNode from the provided file.
      Returns:
      the BaseNode
      Throws:
      IOException - if any exception occurs during parsing