com.japisoft.dtdparser
Class Parser
java.lang.Object
com.japisoft.dtdparser.Parser
- public class Parser
- extends java.lang.Object
Main parser for the DTD
- Version:
- 1.0
- Author:
- (c) 2002-2003 JAPISOFT
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parser
public Parser()
setDTDDocumentBuilder
public void setDTDDocumentBuilder(DTDDocumentBuilder builder)
- Set the builder for DTD document type
getDTDDocumentBuilder
public DTDDocumentBuilder getDTDDocumentBuilder()
- Returns:
- the current DTD document builder
getDTDElement
public RootDTDNode getDTDElement()
- Returns:
- the result of the parsing
getXMLValidator
public XMLValidator getXMLValidator()
- Returns:
- a document validator for this DTD
getXMLGenerator
public XMLGenerator getXMLGenerator()
- Returns:
- a XML minimal document generator
parse
public void parse(java.io.InputStream input)
throws java.io.IOException
- Parse the DTD provided by the following inputstream
- Throws:
java.io.IOException