xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?
- From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- To: Kevin Herrboldt <kevin AT puppethead.com>, xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?
- Date: Wed, 25 Sep 2002 15:15:45 -0400
At 2:03 PM -0500 9/25/02, Kevin Herrboldt wrote:
How about methods that return a Set of attributes and namespaces? You eliminate the specialized classes but still offer convenient "snapshot" capabilities. Or maybe pattern it after, say, how ThreadGroup works to get all threads into a Thread[].
That's not type-safe enough for me. It requires casting to actually use the objects in the Set. That's why I created the Attributes and Namespaces classes in the first place.
--
+-----------------------+------------------------+-------------------+
| 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/ |
+----------------------------------+---------------------------------+
-
[XOM-interest] Are the Attributes and Namespaces classes necessary?,
Elliotte Rusty Harold, 09/25/2002
- Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?, John Cowan, 09/25/2002
-
Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?,
Laurent Bihanic, 09/25/2002
- Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?, Elliotte Rusty Harold, 09/25/2002
-
Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?,
Kevin Herrboldt, 09/25/2002
-
Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?,
Elliotte Rusty Harold, 09/25/2002
-
Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?,
Kevin Herrboldt, 09/25/2002
-
Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?,
Elliotte Rusty Harold, 09/25/2002
- Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?, Kevin Herrboldt, 09/26/2002
-
Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?,
Elliotte Rusty Harold, 09/25/2002
-
Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?,
Kevin Herrboldt, 09/25/2002
-
Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?,
Elliotte Rusty Harold, 09/25/2002
Archive powered by MHonArc 2.6.24.