fr.tireme.schemadoc.xs2dtd.DTD
Class DTDReader
java.lang.Object
fr.tireme.schemadoc.xs2dtd.DTD.DTDReader
public class DTDReader
- extends java.lang.Object
Wrapper to the DTDparser from M. Wutka. See http://www.wutka.com
The Wrapper enables to have a specific catch of
DTDParseException ... as soon as there is a problem while reading the DTD.
- Since:
- 2.0
- Author:
- pierre
|
Constructor Summary |
DTDReader(java.io.File file)
Constructor ... will validate that the file exists. |
|
Method Summary |
void |
parse()
Run the parsing process |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DTDReader
public DTDReader(java.io.File file)
- Constructor ... will validate that the file exists.
- Parameters:
file - file to parse
parse
public void parse()
throws com.wutka.dtd.DTDParseException
- Run the parsing process
- Throws:
com.wutka.dtd.DTDParseException - all parsing errors