[jdom-interest] using JDOM 1.1 on Android's Dalvik VM

Sean Sullivan sean at seansullivan.com
Wed Nov 26 14:55:28 PST 2008


Thanks for the feedback.  Your suggestion sounds good to me.

Is there anybody on the JDOM dev team who can commit this enhancement
to the source tree?

This enhancement would allow Android developers to consume
XML web services using JDOM.

Sean

On Wed, Nov 26, 2008 at 1:27 PM, Laurent Bihanic
<laurent.bihanic at atosorigin.com> wrote:
>
> > Is there a better way to code this?  Any other comments?
>
> Seems OK but you may wish to stick to the existing way of handling possibly not available exception classes in JDOMException by :
> - adding a new getNestedException() method e.g. getNestedExceptionFromField(Throwable, String, String)
> - using Class.forName() and isAssignableFrom as in :
>            Class testClass = Class.forName(className);
>            Class objectClass = parent.getClass();
>            if (testClass.isAssignableFrom(objectClass)) {
>               ...
>


More information about the jdom-interest mailing list