org.castor.xmlctf.xmldiff.xml

Class 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.
Version:
$Revision: 0000 $ $Date: 2007-01-11 00:00:00 -0600 (Thu, 11 Jan 2007) $
Author:
Edward Kuns
Since:
Castor 1.1
See Also:
XMLDiff

Constructor Summary

XMLFileReader(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.

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 java.io.IOException
Reads an XML Document into an BaseNode from the provided file.
Returns:
the BaseNode

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