The process of converting a namespace to a package name is explained in
detail in the spec, so it won't be hard to re-create that code.
Unfortunately, that part is available only as a part of XJC, so you
cannot really reuse it from your code.
One problem that I see with your approach is that the customization
could change the package name.
I think more robust solution is to use something like META-INF/services
and have them point to the package name or something.
regards,
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net