[jdom-interest] DOMBuilder vs PipedStreams

Jason Hunter jhunter at collab.net
Sun Jan 14 22:19:22 PST 2001


> I want to be as vendor neutral as possible and it seems to
> me that the various DOMBuilders are all parser-dependant. 

They're not parser dependent.  JDOM can read any DOM and write any DOM. 
All you have to do is pass the right adapter for the DOM version you're
using (adapters exist for all popular parsers in org.jdom.adapters). 
It's a quirk of DOM that implementations aren't directly compatible, so
you need this level of indirection.

-jh-



More information about the jdom-interest mailing list