users@jaxb.java.net

Re: changing package names in a Plugin

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 06 Apr 2006 09:50:37 -0700

Andreas Pakulat wrote:
>>> Thus I thought overriding the toPackageName(String s) function of a
>>> NameConverter would help here, however it seems that this method is
>>> never called??
>>
>> Ah, yeah. As the javadoc of the toPackageName method say, this isn't
>> really designed to accept a namespace URI.
>>
>> I'll change it.
>
> The javadoc, or the method to accept namespace URI?

This method is now invoked for each namespace URI. So if you set your
own NameConverter you can customize this behavior.


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com