org.exolab.adaptx.xml.parser
public class XercesParser extends Object implements DOMParser
Version: $Revision: 3633 $ $Date: 2003-03-01 02:38:44 -0500 (Sat, 01 Mar 2003) $
Constructor Summary | |
---|---|
XercesParser()
Instantiate parser |
Method Summary | |
---|---|
DOMParser | copyInstance()
Creates a new copy of this DOMParser initialized
with the same properties as this DOMParser. |
Document | createDocument()
Creates a DOM Document |
Document | readDocument(URILocation location, ErrorObserver observer)
Reads an XML Document from the given Reader |
void | setDocumentType(Document document, String systemId)
Creates a DOM DocumentType using the DOM package of this DOMReader |
void | setValidation(boolean validate)
Sets whether or not to Validate the Document |
Returns: the new DOMParser instance
Returns: the new Document
Parameters: reader the Reader for reading the XML stream filename observer the ErrorObserver for notification of errors
Returns: the new DocumentType
Parameters: validate a boolean indicating whether or not to validate the Document