[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

http://www.jdom.org/docs/apidocs/org/jdom/JDOMFactory.html

-- 
Elliotte Rusty Harold  elharo at metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim


More information about the jdom-interest mailing list