org.txt2xml.driver
Class JdomDriver

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

public class JdomDriver
extends SaxDriver

Sends XML from a Processor into a JDOM 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
JdomDriver()
           
JdomDriver(Processor processor)
           
 
Method Summary
 org.jdom.Document generateXmlDocument(java.lang.CharSequence text)
           
 
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

JdomDriver

public JdomDriver()

JdomDriver

public JdomDriver(Processor processor)
Method Detail

generateXmlDocument

public org.jdom.Document generateXmlDocument(java.lang.CharSequence text)
                                      throws org.xml.sax.SAXException,
                                             java.io.IOException
org.xml.sax.SAXException
java.io.IOException


Copyright 2002 Steve Meyfroidt. All Rights Reserved.