[jdom-interest] Convenience method for deep Element structures

Aleksi Kallio aleksi.kallio at infomates.net
Wed Jul 12 07:25:13 PDT 2000


How about providing a method such as:

doc.getNestedElement("settings/database/admin/password")

(instead of 
doc.getRootElement().getChild("database").getChild("admin").getChild("password"))

Haven't thought much about it, but at least it would increase the comfort 
XML offers in storing program settings and such.




More information about the jdom-interest mailing list