Class XMLInput

java.lang.Object
com.deltaxml.deltacheck.XMLInput

public class XMLInput extends Object
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 Details

    • XMLInput

      public XMLInput(String path) throws FileNotFoundException
      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

      public XMLInput(File file) throws FileNotFoundException
      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

      public XMLInput(InputSource inputSource)
      Creates a new XMLInput.
      Parameters:
      inputSource - an InputSource representation of an XML input file.