users@jaxb.java.net

Re: Help about "[ERROR] XPath error: null"

From: <list_at_mofokom.biz>
Date: Wed, 01 Jun 2011 21:50:21 +1000

Actually now I think of it there is a code injection plugin Koshuke
wrote, which maybe more inline with what you are after..read more here

http://www.java.net/blog/kohsuke/archive/2005/06/writing_a_plugi.html

Nicolas VINOT wrote:
>
>
> Le mardi 31 mai 2011 09:30:48, vous avez écrit :
>
> > it was a problem with namespaces in the xml declaration.. try this..
>
>
> Thanks a lot, it's working =)
>
>
> I have an other question about customization.
>
>
> I have to insert some custom methods into generated binding classes.
>
>
> To achieve this without loosing modifications after regeneration, I
> hoped I can declare superclass for those generated classes, but it seems
> <xjc:superClass> can only be on <globalBindings> and not on other scopes.
>
>
> What is the best way for inserting custom methods into JAXB generated
> classes ?
>
>
> Thanks in advance for your responses
>
> --
>
> Nicolas VINOT
>