[jdom-interest] Updates since Beta 9

Jason Hunter jhunter at acm.org
Thu May 22 20:03:15 PDT 2003


>>We've added Parent/Child interfaces (who said I didn't like
>>interfaces?!) with several new features
> 
> Cool, this will make a lot of people happy I think.

Me included.  :-)  Brad did a great job in jdom-x sketching out the 
design and potential.

>>I renamed getChildren() to getChildElements() and renamed getChild()
> 
> to
> 
>>getChildElement(). Now that there's a real Child interface
> 
> getChildren() is
> 
>>even more confusing than it used to be. I deprecated the old forms.
> 
> This
> 
>>change will require a lot of recoding for people.
> 
> 
> Wow, didn't think that would happen. I'm happy to have the improved
> names if you're OK with taking the flamage that will result...

Heh, I plan to placate people by quickly getting to 1.0 so this is the 
last major overhaul they'll need to make!  I just couldn't justify 
getChildren() returning Elements only when Child clearly includes all 
content.

It's the knowledge we needed a few of these major changes that kept us 
in beta without an API freeze.  I'm glad most of the tough stuff is 
behind us.

> So what's the status of the main JDOM tree as compared with Brad's
> private tree? Is there still a lot more stuff to incorporate or is it
> substantially done? 

Main things remaining:

* Try to remove the number of protected fields and methods in
   SAXHandler, SAXOutputter, and XMLOutputter.  Use the strategy pattern
   instead perhaps.  (Advice welcome!)

* Experiment with javax.jdom.Element interfaces.

* Figure out what we do about the JCP.

Brad also had some XMLFilter things he was working on.

-jh-




More information about the jdom-interest mailing list