Package com.deltaxml.deltacheck
Class XMLInput
java.lang.Object
com.deltaxml.deltacheck.XMLInput
A representation of an XML input file.
This class is intended for formats that do not require any special processing. See other classes such as
DocxInput and
DITAMapInput for those file types.- Since:
- 0.1
- Author:
- Michael Polowczuk
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XMLInput
Creates a new XMLInput.- Parameters:
path- either an absolute or a relative (to the JAR) path to an input file, located on the file system.- Throws:
FileNotFoundException- if the given path points to a non-existing file.
-
XMLInput
Creates a new XMLInput.- Parameters:
file- an instance of a Java file object pointing to an input file.- Throws:
FileNotFoundException- if the given file doesn't exist.
-
XMLInput
Creates a new XMLInput.- Parameters:
inputSource- anInputSourcerepresentation of an XML input file.
-