All Packages Class Hierarchy This Package Previous Next Index
Class xslp.xml.parsers.OpenXMLParser
xslp.xml.parsers.OpenXMLParser
- public class OpenXMLParser
- implements DOMPackage
Creates a DOM Parser for use with the OpenXML package
- Author:
- Keith Visco (kvisco@ziplink.net)
-
OpenXMLParser()
-
-
createDocument()
- Creates a DOM Document using the DOM Package of this DOMReader
-
readDocument(Reader, String, PrintWriter)
- Reads an XML Document from the given Reader
-
setDocumentType(Document, String)
- Creates a DOM DocumentType using the DOM package of this DOMReader
-
setValidation(boolean)
- Sets whether or not to Validate the Document
OpenXMLParser
public OpenXMLParser()
createDocument
public Document createDocument()
- Creates a DOM Document using the DOM Package of this DOMReader
- Returns:
- the new Document
setDocumentType
public void setDocumentType(Document document,
String systemId)
- Creates a DOM DocumentType using the DOM package of this DOMReader
- Returns:
- the new DocumentType
setValidation
public void setValidation(boolean validate)
- Sets whether or not to Validate the Document
- Parameters:
- validate - a boolean indicating whether or not to
validate the Document
readDocument
public Document readDocument(Reader reader,
String filename,
PrintWriter errorWriter)
- Reads an XML Document from the given Reader
- Parameters:
- reader - the Reader for reading the XML stream
- errorWriter - the PrintWriter to write all errors to
All Packages Class Hierarchy This Package Previous Next Index