Re: using JDOM 1.1 on Android's Dalvik VM
"Sean Sullivan" <[email protected]>
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <[email protected]> |
ping Is there anybody on the JDOM dev team who can commit this enhancement to the source tree? Sean On Wed, Nov 26, 2008 at 2:55 PM, Sean Sullivan <[email protected]>wrote: > 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 > <[email protected]> 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)) { > > ... > > > _______________________________________________ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/[email protected]