[jdom-interest] Suggestion

Mike Jennings mjenning at islandnet.com
Fri Dec 22 19:27:33 PST 2000


Hi,

What about adding a method to org.jdom.Element

    public String getAttributeValue(String name, Namespace ns, String default)

Such that if the attribute named "name" does not exist, the String "default" is returned.
This could be useful in cases where an XML file has default values for attributes
that are not specified.

What do the powers that be think of this idea?

-Mike Jennings


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20001222/04d7917d/attachment.htm


More information about the jdom-interest mailing list