org.exolab.adaptx.xml.parser
Class XercesParser
java.lang.Object
org.exolab.adaptx.xml.parser.XercesParser
- DOMParser
public class XercesParser
extends java.lang.Object
Creates a DOM Package for use with Apache's Xerces parser.
$Revision: 3633 $ $Date: 2003-03-01 02:38:44 -0500 (Sat, 01 Mar 2003) $
XercesParser
public XercesParser()
Instantiate parser
copyInstance
public DOMParser copyInstance()
Creates a new copy of this DOMParser initialized
with the same properties as this DOMParser.
- copyInstance in interface DOMParser
- the new DOMParser instance
setDocumentType
public void setDocumentType(Document document,
String systemId)
Creates a DOM DocumentType using the DOM package of this DOMReader
- setDocumentType in interface DOMParser
setValidation
public void setValidation(boolean validate)
Sets whether or not to Validate the Document
- setValidation in interface DOMParser
validate
- a boolean indicating whether or not to
validate the Document