[jdom-interest] Ideas for API changes

Jason Hunter jhunter at collab.net
Sun Apr 29 18:14:33 PDT 2001

Tom Bradford wrote:
> Jason Hunter wrote:
> > Because that makes the public API about 50% more complex for almost no
> > gain.
> How would it be any more complex than it already is?  

Because then the developer has to learn what these new interfaces do. 
The more classes and interfaces in an API, the more complicated it is to

> The marker
> interfaces would never have to be exposed to developers, 

They're there when they read the Javadocs!!  Plus, when a developer
looks for an addContent(ProcessingInstruction) method they won't find
it.  They have to know PI is an ElementChild.  They shouldn't have to
know that or think about that.


More information about the jdom-interest mailing list