xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] RFE: Element.appendChild(String text) should return "this" for chaining
- From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- To: Stefan Matthias Aust <sma AT 3plus4.de>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] RFE: Element.appendChild(String text) should return "this" for chaining
- Date: Tue, 17 Aug 2004 08:43:04 -0400
At 9:27 AM +0200 8/17/04, Stefan Matthias Aust wrote:
I'd love to use var-args for element construction
Element element(String name, String... namesAndValues) {
...
}
but I'm not yet on 1.5.
1.5 is different enough that it might call (one day, not today) for a redesigned XOM API that takes advantage of its features like generics and enhanced for loops. The lack of generics in particular was a major driver in the XOM API. When I was talking about XOM Design Principles at Extreme Markup Languages in Montreal a couple of weeks ago one of the C++ people in the room kept saying, "But you could do this so much more simply if you used templates" and I had to keep reminding him that in Java I didn't have the option to design around templates. :-(
--
Elliotte Rusty Harold
elharo AT metalab.unc.edu
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
-
[XOM-interest] RFE: Element.appendChild(String text) should return "this" for chaining,
Wolfgang Hoschek, 08/16/2004
-
Re: [XOM-interest] RFE: Element.appendChild(String text) should return "this" for chaining,
Elliotte Rusty Harold, 08/16/2004
- Re: [XOM-interest] RFE: Element.appendChild(String text) should return "this" for chaining, Wolfgang Hoschek, 08/16/2004
-
Re: [XOM-interest] RFE: Element.appendChild(String text) should return "this" for chaining,
Stefan Matthias Aust, 08/17/2004
-
Re: [XOM-interest] RFE: Element.appendChild(String text) should return "this" for chaining,
Elliotte Rusty Harold, 08/17/2004
-
Re: [XOM-interest] RFE: Element.appendChild(String text) shouldreturn "this" for chaining,
passani, 08/17/2004
- Re: [XOM-interest] RFE: Element.appendChild(String text) shouldreturn "this" for chaining, Stefan Matthias Aust, 08/17/2004
- Re: [XOM-interest] RFE: Element.appendChild(String text) shouldreturn "this" for chaining, John Cowan, 08/17/2004
-
Re: [XOM-interest] RFE: Element.appendChild(String text) shouldreturn "this" for chaining,
passani, 08/17/2004
-
Re: [XOM-interest] RFE: Element.appendChild(String text) should return "this" for chaining,
Elliotte Rusty Harold, 08/17/2004
-
Re: [XOM-interest] RFE: Element.appendChild(String text) should return "this" for chaining,
Elliotte Rusty Harold, 08/16/2004
Archive powered by MHonArc 2.6.24.