[jdom-interest] Using my own Element class ?

philip.nelson at omniresources.com philip.nelson at omniresources.com
Thu Jun 7 13:53:50 PDT 2001

> I really think that an XML parser with Java-friendly 
> interface is a good
> idea !

Me too...

> Is it possible to create a DO(O:-)M-like tree with JDOM, but 
> with my own
> Element class (that, obviously, extends the JDOM one) ?

Subclass DefaultJDOMFactory and override the appropriate factory methods to
create an instance of your class instead of the normal JDOM class.  Then
pass your JDOMFactory instance to SAXBuilder and viola, your subclasses are
in business.

More information about the jdom-interest mailing list