xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
[XOM-interest] Traversing Attributes and Namespace Declarations
- From: "Bradley S. Huffman" <hip AT a.cs.okstate.edu>
- To: xom-interest AT lists.ibiblio.org
- Cc: hip AT a.cs.okstate.edu
- Subject: [XOM-interest] Traversing Attributes and Namespace Declarations
- Date: Sun, 04 May 2003 10:44:55 -0500
Any thoughts on getting rid of getAttributeCount(), getAttribute(index),
getNamespaceDeclarationCount(), getNamespaceDeclaration(index) in favor
of two methods, getAttributes(), getNamespaceDeclarations(), that return a
iterator. I'm guessing you don't like java iterators cause they're not type
safe, but index operations on attributes and declarations just seems weird.
And dropping from 4 methods to 2, which are only really needed for
serialization, just sounds good. I wouldn't mine doing this in JDOM and
getting rid of the nasty "live" list for Attributes, but it's probably to
late there.
Brad
-
[XOM-interest] Traversing Attributes and Namespace Declarations,
Bradley S. Huffman, 05/04/2003
-
Re: [XOM-interest] Traversing Attributes and Namespace Declarations,
Elliotte Rusty Harold, 05/04/2003
- Re: [XOM-interest] Traversing Attributes and Namespace Declarations, Bradley S. Huffman, 05/04/2003
-
Re: [XOM-interest] Traversing Attributes and Namespace Declarations,
Elliotte Rusty Harold, 05/04/2003
Archive powered by MHonArc 2.6.24.