Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

RE: [jdom-interest] Namespace.ANY_NAMESPACE

Michael Kay

2006-07-03

Replies:

>Concerning (a), I think a wildcard namespace is as much a namespace as
Namespace.NO_NAMESPACE, and designing a special class just for this case
might be a too heavy design (i'm thinking about performances, code
compactness, and ease for the JDOM user).
 
Well, FWIW, my experience of API design is that if you try to keep the
design lightweight by conflating classes that should really be distinct, you
always end up regretting it in the end.

Michael Kay
http://www.saxonica.com/

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.