[jdom-interest] AttributeList performance

Martin Schulz schulz at videotron.ca
Sun Apr 24 13:52:35 PDT 2005

Elliotte Harold wrote:

> 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
> http://www.jdom.org/docs/apidocs/org/jdom/JDOMFactory.html
Yes, thanks.  That's very comforting for the receiving end.
We also build JDOM Documents manually a lot,
so I'd probably be able to keep the code the same by playing with the 
import statements.


More information about the jdom-interest mailing list