[jdom-interest] Another org.jdom.contrib.input.ResultSetBuilder modification

Jason Hunter jhunter at collab.net
Wed Feb 28 11:28:21 PST 2001

> I have another modification I'd like to suggest for
> org.jdom.contrib.input.ResultSetBuilder. I'd like to see a buildElement().
> This again is mostly for convenience, I find a lot of times I'm getting the
> root element and cloning it just so I can add the result to another element.
> Having buildElement return an Element would save time and memory (while it
> doing the clone).

Why are you cloning?  Why not detach the element from the document and
do with it as you will?  Then the only waste is a single Document
instance, which probably isn't enough waste to justify adding another


More information about the jdom-interest mailing list