[jdom-interest] new sax-based utils
Laurent Bihanic
laurent.bihanic at atosorigin.com
Mon Sep 3 07:17:43 PDT 2001
Joseph Bowbeer wrote:
> DocumentReader is useful when you have a JDOM Document that you want to
> hand-off to a consumer that accepts an XMLReader. When the consumer calls
> the DocumentReader's parse method, the DocumentReader invokes SAXOutputter
> to transmit the source document as SAX events.
>
> (One could also imagine creating an InputSource wrapper for a JDOM
> Document.)
This wrapper already exists in org.jdom.transform.JDOMSource as a nested class
(JDOMInputSource) as well as the corresponding XMLReader implementation
(nested class DocumentReader).
Laurent
More information about the jdom-interest
mailing list