users@jaxb.java.net

Re: JaxB and DOM dictionary

From: CANDAT Jerome <jerome.candat_at_c-s.fr>
Date: Wed, 04 Jun 2003 08:41:15 +0200

Hello everyone,

I'm currently using JAXB for one of my projects and I have the same problem
: cannot get XPath of the elements.

I'm really interested in your alternative though I don't know how to do
this. Please send further details on your alternative.


Thanks in advance,
J?r?me.
----- Original Message -----
From: "Ganga Sah" <ganga_sah_at_yahoo.com>
To: <JAXB-INTEREST_at_JAVA.SUN.COM>
Sent: Wednesday, June 04, 2003 7:56 AM
Subject: Re: JaxB and DOM dictionary


> There is an alternative to accessing DOM tree thru
> JAXB generated gettter(readMethod) by recursively
> using Java reflection & PropertyDescriptor API from
> the root of JAXB generated class. If this approach
> helps you, I could send futher details if needed.
> thanks,
> ganga
> --- SUBSCRIBE JAXB-INTEREST Annonymous
> <runjhun1_at_YAHOO.COM> wrote:
> > does jaxb generate some kind of a dictionary while
> > generating the java classes from xsd. A dictionary
> > which contains information about each element in the
> > xsd. For example from the generated classes I cannot
> > get the XPath of a certain element in xsd. So for
> > this I would have to navigate the dom tree. So
> > instead of my navigating the dom tree I could use
> > the dictionary to get any details about the element
> > which I cannot get from the java classes produced.If
> > JAXB does not do something like this would you know
> > any other tool that would.
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com
>