commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dion Gillard <dion.gill...@gmail.com>
Subject Re: [jelly] XMLOutput.data(Object)
Date Tue, 05 Oct 2004 22:05:10 GMT
I'm not sure I understand what the use of this method is for Tags and
TagLibraries, since it's on XML output.

Can you give us an idea?


On Tue, 5 Oct 2004 21:31:08 +0200, Paul Libbrecht <paul@activemath.org> wrote:
> 
> Dear Jellyers,
> 
> I'd like to propose an addition to the XMLOutput class, used throughout
> Jelly:
>    a method called data() (or object) accepting any object.
> 
> By default... take the toString and call characters...
> Actually, this is the way it is done with the return value of a Jexl
> expression as part of a text node.
> 
> But the interesting comes in the non-default case:
> - a math library could return a polynomial or numerical type... and
> this could then be further evaluated by parents
> - the arg element of jelly could actually avoid special treatment as it
> has currently
> - most of my interest applies for jelly-swing: the components would
> then want to call data(component) on the xmlOutput. The latter could be
> filtered by constraint-tags to call data(component-with-constraints).
> Finally, container tags could, also, filter, and receive the resulting
> data and add it.
> 
> I would look forward to comments !
> 
> paul
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 


-- 
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message