[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New release?
Hi Dan
> I like this, but it is not far from what we had before within
> DataSource. Why not instead have these facilities on DataSource itself,
> instead of an associated object InputSource?
No, if the DataSource interface had all these methods, every developer
would need to implement all the methods themselves - an aspect
I will argue against. Why ask them duplicate the work if we can
implement all this basic functionality in a separate class they
can use?
> We might've subclassed it, but better I think to merge into DataSource
Thus, I think an additional class is needed. Do you still think
that given
public interface DataSource
{
setURI()
getURI()
setStream()
getStream()
setString()
getString()
...
}
every user of DataSource always has to implement all those methods?
Janne
--
Janne Saarela | Visiting scientist
Email: jsaarela@w3.org | World Wide Web Consortium http://www.w3.org/