On 7/23/07, Klotz, Leigh <[EMAIL PROTECTED]> wrote:
Here's a first implementation.
The methods all return raw JDOM objects.
It might be desirable to return representations instead; i.e.
JDOMElementRepresentation, etc.
In this case, you'd implement a sanitizeJDOMObject to convert to them to
these subclasses.

Leigh, this looks great! I'm really glad that you've gone ahead and
contributed this - I had hoped to get to it but now I don't have to.

One question: I wonder if we could remove the dependency on
com.xerox.docushare.util.JDOMUtil. It looks like it's only being used
as a convenient shorthand to parse XML into a Document. I'd think it
might be better for Restlet to reduce dependencies, and it'd be OK to
use the more verbose syntax here.

Thanks,
Avi

--
Avi Flax
Lead Technologist
arc90 | http://arc90.com

Reply via email to