commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@activemath.org>
Subject Re: [jelly] XMLOutput.data(Object)
Date Fri, 08 Oct 2004 07:42:35 GMT

Le 8 oct. 04, à 02:08, Dion Gillard a écrit :

> On Thu, 7 Oct 2004 11:40:27 +0200, Paul Libbrecht 
> <paul@activemath.org> wrote:
>> More precisely, it's "passing objects around".
>> I see no other mechanism for a tag to pass an object to a tag that
>> called it... (which is not always a parent tag).
> In keeping with the XMLOutput class and it's API, how about naming it
> write(Object) instead of data(Object) having a method called data just
> doesn't seem right to me.

Ok with write(Object), I think this isn't so appropriate since all 
methods of XMLOutput do write something... I was imitating 
startElement() or characterData() (all coming from SAX).
Maybe best would be objectData().

paul

---------------------------------------------------------------------
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