Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Leaf Nodes

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: a student <tutor AT cyberspace.org>, xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Leaf Nodes
  • Date: Mon, 30 Sep 2002 20:31:45 -0400

At 6:49 PM -0400 9/30/02, a student wrote:
perhaps a read-only LeafNodes class like Elements

and convenience methods getLeafNodeCount() etc. in Element
rather than greping them out of ParentNode's getChild(int index)
now that Leaf Nodes have moved to their own class

or does this just bloat xom, and add to complexity/confusion?


What's the use-case? How would this help you? What could you do with this that you can't do now with getChildCount()/getChild()? All new methods and classes are bloat. The question is whether they're useful bloat.
--

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo AT metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| XML in a Nutshell, 2nd Edition (O'Reilly, 2002) |
| http://www.cafeconleche.org/books/xian2/ |
| http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+




Archive powered by MHonArc 2.6.24.

Top of Page