[jdom-interest] Re: Factories

Elliotte Rusty Harold elharo at metalab.unc.edu
Mon Mar 1 12:47:44 PST 2004


At 8:56 PM +0100 3/1/04, phil at triloggroup.com wrote:

A good library should let a user extends it without having to change 
the internals. Integrating a StAX builder is not only a JDOM 1.1 
task, but anyone who need, for any reason, should be able to build it.

It is the responsibility of a good library to verify all 
preconditions on its methods. It is the responsibility of the library 
designers to be experts in the domain so that users don't have to be. 
As Jason has written, XML is fractally complex. Clients should not 
have to understand all levels of that fractal complexity in order to 
use JDOM properly. JDOM should make it very easy to do the right 
thing and impossible to do the wrong thing.
-- 

   Elliotte Rusty Harold
   elharo at metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml            
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA 



More information about the jdom-interest mailing list