users@jaxb.java.net

Re: Accessing JAXB mappings

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Mon, 06 Sep 2004 15:04:13 +0200

Hi.

> To have a closure on this can somebody from the JAXB dev group
> please tell me whether the JAXB class-name/method name mappings
> are somehow accessible at the moment, or at least, if there
> are plans to make them accessible in future releases.
> I feel this would be an a very useful thing in cases when you
> work with schemas for which you generate and compile JAXB
> classes at runtime and you need to populate them with data.
> Obviously read-only access would be sufficient.

I'm not from JAXB development group, but to the best of my knowledge
original names of elements/types/etc. are not available in the generated
classes.

However, this information is available during the generation - for
instance to the add-ons. So, in principle it is possible (and I estimate
it to be not especially complex) to add naming information to the
generated classes. The biggest question is, though, in which form.

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