Package org.castor.xmlctf.xmldiff.xml
Class XMLFileReader
java.lang.Object
org.castor.xmlctf.xmldiff.xml.XMLFileReader
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 Summary
ConstructorsConstructorDescriptionXMLFileReader
(String filename) Creates a new XMLReader for the given URILocation. -
Method Summary
-
Constructor Details
-
XMLFileReader
Creates a new XMLReader for the given URILocation.- Parameters:
filename
- the URILocation to create this reader for.
-
-
Method Details
-
read
Reads an XML Document into an BaseNode from the provided file.- Returns:
- the BaseNode
- Throws:
IOException
- if any exception occurs during parsing
-