[jdom-interest] Another org.jdom.contrib.input.ResultSetBuild
Van Dooren, Damian
VanDoorenD at icfg.com
Wed Feb 28 11:55:36 PST 2001
How would I detach an element? Have I missed that in the API? All I could
find was the setParent() which is protected.
> -----Original Message-----
> From: Jason Hunter [mailto:jhunter at collab.net]
> Sent: Wednesday, February 28, 2001 2:28 PM
> To: Van Dooren, Damian
> Cc: 'jdom interest'
> Subject: Re: [jdom-interest] Another
> org.jdom.contrib.input.ResultSetBuilder modification
> > I have another modification I'd like to suggest for
> > org.jdom.contrib.input.ResultSetBuilder. I'd like to see a
> > 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