All Packages Class Hierarchy This Package Previous Next Index
Class xslp.xml.parsers.XML4J_2xParser
xslp.xml.parsers.XML4J_2xParser
- public class XML4J_2xParser
- implements DOMPackage
Creates a DOM Package for use with IBM's XML4J 2.x package
- Author:
- Keith Visco, Michel Casabianca
-
XML4J_2xParser()
- Instantiate parser
-
createDocument()
- Creates a DOM Document
-
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
XML4J_2xParser
public XML4J_2xParser()
- Instantiate parser
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
createDocument
public Document createDocument()
- Creates a DOM Document
- Returns:
- the new 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