users@jaxb.java.net

Re: Accessing JAXB mappings

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Wed, 08 Sep 2004 11:39:06 +0200

Hi.

>> In any case, if you guys say that the schema mapping info is available
>> at schema compile time to add-ons, then I will have to write one that
>> would store the mappings somewhere where my framework can find it. I
>> think that would work just fine, I just thought that since JAXB needs
>> this info at runtime anyway (I saw some promising Grammar instances
>> flying around in the JAXBContext), it could be possible to get to that
>> information at runtime, but apparently it is not.
>> Thank you (and Aleksei for his add-on tip),.
>
>
> If you want to use JXPath with JAXB objects using original names, you'll
> need to generate and register JXPathBeanInfo instances for the classes
> generated by JAXB as well as generate an
> org.apache.commons.jxpath.AbstractFactory which must be based on JAXB's
> ObjectFactory.
> The tricky part is handling of heterogeneous collections.

p.s. Quite uneasy, I would say.

Bye.
/lexi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net