[jdom-interest] AttributeList performance

Elliotte Harold elharo at metalab.unc.edu
Sun Apr 24 12:36:25 PDT 2005

Martin Schulz wrote:

> Interesting.  I guess I'll have to subclass Element then too.
> What is the factory model of JDOM and how can I be sure that
> my Element subclass is being used throughout?
> I guess that's a trick question...

Not really. Just implement JDOMFactory or subclass DefaultJDOMFactory 
and pass an instance of your subclass to SAXBuilder's setFactory method. See


Elliotte Rusty Harold  elharo at metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!

More information about the jdom-interest mailing list