On Wednesday 17 April 2002 09:52 am, Peter Donald wrote:
> If you actually look at the implementations of source in package they
> actually are just convenience methods. You could quite easily implement
> toXML outside the class with zero negative effects. Doing it this way would
> decouple source from the excalibur.xml.* package and the
> framework.component.* package making it much more easier to support in
> future. Ad much easier to extract and use in other contexts.

I think we should provide a utility function to do that as it will be 
frequently used by some users of the source package. Where would the utility 
function live though, as it will carry the dependencies you mention. Plus if 
we were to make it a static method, it would need a signature such as

toSAX(Source source, ContentHandler handler, ComponetManager manager);

I understand how the concerns are separate though. 
-pete

-- 
peter royal -> [EMAIL PROTECTED]

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to