xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- To: xom-interest AT lists.ibiblio.org
- Subject: [XOM-interest] LeafNode to be deleted?
- Date: Wed, 11 Feb 2004 09:32:20 -0500
Is anyone using LeafNode for anything? Would anybody be horribly inconvenienced if it disappeared? I was looking at it yesterday, and it really is mostly an implementation detail designed to avoid code duplication in a few classes; but my experience is people pay more attention to it than it deserves; and I should probably just push the two methods it has (getChild() and getChildCount()) down into the four subclasses (Text, ProcessingInstruction, Comment, and DocType). I doubt any code would break unless someone is doing instanceof LeafNode somewhere.
--
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] LeafNode to be deleted?,
Elliotte Rusty Harold, 02/11/2004
-
Re: [XOM-interest] LeafNode to be deleted?,
Nils_Kilden-Pedersen, 02/11/2004
- Re: [XOM-interest] LeafNode to be deleted?, Bradley S. Huffman, 02/11/2004
- <Possible follow-up(s)>
- Re: [XOM-interest] LeafNode to be deleted?, Elliotte Rusty Harold, 02/11/2004
-
Re: [XOM-interest] LeafNode to be deleted?,
Nils_Kilden-Pedersen, 02/11/2004
Archive powered by MHonArc 2.6.24.