Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] toXML() instead of getStringForm()?

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Laurent Bihanic <laurent.bihanic AT atosorigin.com>
  • To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] toXML() instead of getStringForm()?
  • Date: Fri, 20 Sep 2002 11:02:11 +0200

Elliotte Rusty Harold wrote:
John Naylor suggested the following name change:

i just gave xom a quick look and like much of what i see. just one comment
for now, have you considered toXml() instead of getStringForm().

Now that he mentions it, that does sound reasonable, though I would prefer toXML() instead of toXml(). Thoughts?

Just to nag: Why not toXMLString() (toXmlString()) to clearly mark that the output is not an XML document.

Or even better: toString(), unless you see a good reason to keep the existing "[<class>: ...]". Debugging?

Laurent





Archive powered by MHonArc 2.6.24.

Top of Page