[jdom-commits] Suggestion for adding breadthFirstEnumeration and deapthFirstEnumeration in the Element class

Chandra Patni javaguru at pcgeek.net
Wed Aug 9 16:12:50 PDT 2000

I have been using JDOM for a week or so and it seems to be pretty interesting. I have few suggestions regarding some of the added functionality.
1. It will be really useful to have breadthFirstEnumeration, deapthFirstEnumeration and other traversals of a given element. I suggest the inclusion of these two methods in the Element class.

Iterator breadthFirstIterator();
Iterator depthFirstIterator();
Iterator inOrderIterator();
Iterator postOrderIterator();
Iterator preOrderIterator();

I will be willing to contribute to this effort if desired. 

2. Attribute class doesn't contain some of the methods right now which appears in online documentation. 
for Example. getIntValue(int defaultValue) and all getXXXValue(XXX defaultValue) methods are not in there.

happy jdom,
Chandra Patni

Are you a Techie? Get Your Free Tech Email Address Now!
Many to choose from! Visit http://www.TechEmail.com

More information about the jdom-commits mailing list