[jdom-interest] SAXOutputter

Laurent Bihanic laurent.bihanic at atosorigin.com
Tue Oct 15 01:00:29 PDT 2002

Yuri de Wit wrote:
> My "request for enhancement" is to expose at least another public method in
> SAXOutputter so that I can generate SAX events for one element (not a
> Document) and that it will NOT generate the startDocument and endDocument
> events.

-1 for not generating start/endDocument: If the method is public it shall fire 
a valid sequence of SAX events.
You can easily strip the extraneous start/endDocument events by adding an 
XMLFilter between SAXOutputter and your ContentHandler.


More information about the jdom-interest mailing list