org.ocd.xmlparser
Interface IXMLParser

All Known Implementing Classes:
XMLParser

public interface IXMLParser

Since:
$Date: 2002/08/14 07:29:48 $
Version:
$Revision: 1.3 $
Author:
$Author: drichan $, ocd_dino - ocd_dino@users.sourceforge.net (initial author)

Method Summary
 javax.xml.parsers.DocumentBuilder getDocumentBuilder()
           
 javax.xml.parsers.DocumentBuilderFactory getDocumentBuilderFactory()
           
 org.ocd.xmlparser.Transformer getTransformer()
           
 org.ocd.xmlparser.TransformerFactory getTransformerFactory()
           
 org.w3c.dom.Document readDocument(java.io.InputStream pStream)
          Read an XML Document from an InputStream
 void writeDocument(org.w3c.dom.Document pDoc, java.io.OutputStream pStream)
          Write DOM Document to Output Stream
 

Method Detail

getDocumentBuilderFactory

public javax.xml.parsers.DocumentBuilderFactory getDocumentBuilderFactory()
Returns:
 

getDocumentBuilder

public javax.xml.parsers.DocumentBuilder getDocumentBuilder()
Returns:
 

getTransformerFactory

public org.ocd.xmlparser.TransformerFactory getTransformerFactory()
Returns:
 

getTransformer

public org.ocd.xmlparser.Transformer getTransformer()
Returns:
 

writeDocument

public void writeDocument(org.w3c.dom.Document pDoc,
                          java.io.OutputStream pStream)
                   throws java.io.IOException
Write DOM Document to Output Stream
Parameters:
stream - to write Output to.

readDocument

public org.w3c.dom.Document readDocument(java.io.InputStream pStream)
                                  throws java.io.IOException,
                                         org.xml.sax.SAXException
Read an XML Document from an InputStream
Parameters:
XML - DOM Document