[jdom-interest] attributes

Bradley S. Huffman hip at a.cs.okstate.edu
Wed Jan 30 16:51:22 PST 2002

Currently Element.getAttributes() returns a live and modifiable
List (actually a AttributeList). Which only has methods taking one argument
(nothing equivalent to setAttribute(String,String)). Making List.add(Attribute)
and Element.setAttribute(Attribute) equivalent in behavior.  Good or bad
having setAttribute(String,String) equivalent to setAttribute( new
Attribute(String,String)) does keep things consistent.


More information about the jdom-interest mailing list