org.txt2xml.driver
Class DomDriver

java.lang.Object
  |
  +--org.txt2xml.driver.SaxDriver
        |
        +--org.txt2xml.driver.DomDriver

public class DomDriver
extends SaxDriver

Sends XML from a Processor into a DOM document. Note: this is not tested

Author:
Steve Meyfroidt

Field Summary
 
Fields inherited from class org.txt2xml.driver.SaxDriver
NULL_ATTRIBUTES, ROOT_ELEMENT
 
Constructor Summary
DomDriver()
           
DomDriver(Processor processor)
           
 
Method Summary
 org.w3c.dom.Node generateXmlDocument(java.lang.CharSequence text)
          Dump XML into a returned DOM Document.
 
Methods inherited from class org.txt2xml.driver.SaxDriver
generateXmlDocument, setProcessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomDriver

public DomDriver()

DomDriver

public DomDriver(Processor processor)
Method Detail

generateXmlDocument

public org.w3c.dom.Node generateXmlDocument(java.lang.CharSequence text)
                                     throws org.xml.sax.SAXException,
                                            javax.xml.transform.TransformerConfigurationException
Dump XML into a returned DOM Document.

org.xml.sax.SAXException
javax.xml.transform.TransformerConfigurationException


Copyright 2002 Steve Meyfroidt. All Rights Reserved.