|
From: Dejan K. <dej...@nb...> - 2003-12-29 13:40:13
|
IMO, document is consisted of contents and attributes. So I think that
method name getContents or maybe getContentsAsString (since content can be
binary) is better. But as you said - it is not a big deal. I'll need to
change some of my pipelines anyway since I've used toString() there!
Dejan
----- Original Message -----
From: "Bruce McDonald" <br...@mc...>
To: "Dejan Krsmanovic" <dej...@nb...>; "Babeldoc Developer List"
<bab...@li...>
Sent: Monday, December 29, 2003 2:08 PM
Subject: Re: [Babeldoc-devel] Re: PipelineDocument.toString()
> Dejan:
> I kinda liked getDocumentAsString but its not a big deal.
>
> All:
>
> What do you think of the observer pattern classes I emailed to the list
some
> time back for the configuration classes?
>
> regards,
> Bruce.
>
> On Monday 29 December 2003 03:13 am, Dejan Krsmanovic wrote:
> > I would suggest using some shorter name. Something like getContents() as
> > Mitch Christensen proposed. Note that this method will mostly be used in
> > pipeline configurations and I would prefer using:
> >
> > blah.blah=${document.contents}
> >
> > then
> >
> > blah.blah=${document.documentAsString}
> >
> >
> >
> > Dejan
> >
> > >OK, done and committed to both branches. The new method name is
> > >
> > >getDocumentAsString().
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: IBM Linux Tutorials.
> > Become an expert in LINUX or just sharpen your skills. Sign up for
IBM's
> > Free Linux Tutorials. Learn everything from the bash shell to sys
admin.
> > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> > _______________________________________________
> > Babeldoc-devel mailing list
> > Bab...@li...
> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|