Package org.eigenbase.xom

## Class ParserTester

- java.lang.Object
- - org.eigenbase.xom.ParserTester

    public class ParserTester
    extends java.lang.Object

Test the MSParser

### Field Summary

Fields
`(package private) java.lang.String` `dtdUrl`
`(package private) java.lang.String` `modelDocType`

### Constructor Summary

Constructors
`ParserTester​(java.lang.String dtdFile, int parserType)`

### Method Summary

All Methods Static Methods Instance Methods Concrete Methods
`static void` `main​(java.lang.String[] args)` The ParserTester tests MSXML parser and Xerces Parser.
`void` `testFile​(java.lang.String testFile)`

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### Field Detail

#### modelDocType

    java.lang.String modelDocType

#### dtdUrl

    java.lang.String dtdUrl

### Constructor Detail

#### ParserTester

    public ParserTester​(java.lang.String dtdFile,
                        int parserType)
                 throws XOMException,
                        java.io.IOException

Throws:
  `XOMException`
  `java.io.IOException`

### Method Detail

#### testFile

    public void testFile​(java.lang.String testFile)
                  throws XOMException

Throws:
  `XOMException`

#### main

    public static void main​(java.lang.String[] args)
                     throws XOMException,
                            java.io.IOException

The ParserTester tests MSXML parser and Xerces Parser. Arguments:

1. The DTD file of the XML file
2. The XML file for this DTD file

Throws:
  `XOMException`
  `java.io.IOException`