[jdom-interest] Re: Element factories for Builders

Dave Churchville dmc at chimerasoft.com
Wed Apr 4 12:38:06 PDT 2001


What's the current state/thinking on Element Factories in JDOM Builders
(SAXBuilder in particular)?

This, in my opinion, would eliminate (or at least help with) most of the
remaining debate points, since you really could say "use a factory" in
reponse to:

- I'd like to store more data on an Element (custom application data)
- I'd like to add a listener model to Elements, etc.
- I'd like to add controversial methods to my Element (i.e.
getChildIgnoringNamespaces("foo"))
- I'd like to override certain methods for my own app for efficiency, etc.

I know its in the TODO, and some people have done partial? implementations,
but how close is it to being part of official JDOM?  I'd be happy to help
out here if needed.

--Dave

P.S. We are using JDOM and are generally very happy with it.




More information about the jdom-interest mailing list