OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Article on JAXP 1.3 "Fast and Easy XML Processing"

[ Lists Home | Date Index | Thread Index ]

Dare Obasanjo wrote:

> So given the choice of methods that take useless interfaces (since they
> have to cast to get anything useful) and APIs with lots of overloaded
> methods that support a rich set of data sources, why would you think the
> former is better? 

Because it'll be more elegant to add metadata onto Source objects than 
continue with parametric polymorphism. It's hard not to conclude a 
fundamental abstraction is missing when a class has that many overloaded 
calls.

cheers
Bill




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS