[jdom-interest] Creating a SAXBuilder object for an XMLReader object

Thomas Funck funck at in.tum.de
Mon Jun 4 10:46:32 PDT 2001


Dear all,

why isn't there a constructor for class SAXBuilder that takes an XMLReader object (instead of the saxDriverClass string)? The reason is that I want to create a SAXBuilder for a SAX1 parser. I wrap the SAX1 parser into a org.xml.sax.helpers.ParserAdapter object, which is also an instance of XMLReader. But for this XMLReader object I cannot create a SAXBuilder object.
There is even no good possibility for defining an own subclass of SAXBuilder, because the get()-methods for its attributes are missing. Also class SAXHandler isn't visible outside its package.

Regards,

Thomas Funck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20010604/b84f19ff/attachment.htm


More information about the jdom-interest mailing list