org.castor.xmlctf.xmldiff.xml
Class XMLFileReader

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

public class XMLFileReader
extends java.lang.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:
XMLDiff

Constructor Summary
XMLFileReader(java.lang.String filename)
          Creates a new XMLReader for the given URILocation.
 
Method Summary
 XMLNode read()
          Reads an XML Document into an BaseNode from the provided file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLFileReader

public XMLFileReader(java.lang.String filename)
Creates a new XMLReader for the given URILocation.

Parameters:
filename - the URILocation to create this reader for.
Method Detail

read

public XMLNode read()
             throws java.io.IOException
Reads an XML Document into an BaseNode from the provided file.

Returns:
the BaseNode
Throws:
java.io.IOException - if any exception occurs during parsing


Intalio Inc. (C) 1999-2007. All rights reserved http://www.intalio.com