org.exolab.adaptx.xml.parser
public interface DOMParser
| 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 for this DOMPackage |
| Document | readDocument(URILocation uriLocation, ErrorObserver observer)
Reads an XML Document from the given Reader.
|
| void | setDocumentType(Document document, String systemId)
Sets the DocumentType for the given Document. |
| void | setValidation(boolean validate)
Sets whether or not to Validate the Document |
Returns: the new DOMParser instance
Returns: the new Document
Parameters: uriLocation the URILocation of the document to read errorWriter the PrintWriter to write all errors to
Parameters: validate a boolean indicating whether or not to validate the Document