> From: Jose Alberto Fernandez [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 30, 2001 8:35 AM
> On another related matter, is there any strong reason why 
> datatypes are not a subclass of Task (i.e., a specialized 
> type of Task with a predefined or fixed execute()). I ask 
> this because if you look at the parser code there is really 
> no much reason for differentiating between the two at parser time.

I don't mean to butt in here, as I'm not a committer and rather new to the
list, but through my hacking of the code I discovered that one could, with
relative ease, extend the TaskAdapter to allow it to also encapsulate
DataTypes (by not forcing the execute method in the underlying object).
It's then another simple extention to the UnknownElement class to attempt to
create a DataType if the Task creation fails.

> Jose Alberto

Matt Albrecht

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

Reply via email to