Copy construtors with JAXB

View: New views
3 Messages — Rating Filter:   Alert me  

Copy construtors with JAXB

by rubinod :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

Is it possible to get JAXB to generate clone or copy constructors?

I have looked high and low on the net for a way to do this and it doesnt seem possible!

Thanks

Re: Copy construtors with JAXB

by Aleksei Valikov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

> Is it possible to get JAXB to generate clone or copy constructors?
>
> I have looked high and low on the net for a way to do this and it doesnt
> seem possible!

JAXB2 Basics package provides "copyable" plugin:

http://confluence.highsource.org/display/J2B/Copyable+plugin

http://confluence.highsource.org/display/J2B/Home

Bye.
/lexi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Copy construtors with JAXB

by rubinod :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Excellent - thats just what I was after!

Thanks

Aleksei Valikov wrote:
Hi,

> Is it possible to get JAXB to generate clone or copy constructors?
>
> I have looked high and low on the net for a way to do this and it doesnt
> seem possible!

JAXB2 Basics package provides "copyable" plugin:

http://confluence.highsource.org/display/J2B/Copyable+plugin

http://confluence.highsource.org/display/J2B/Home

Bye.
/lexi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@jaxb.dev.java.net
For additional commands, e-mail: users-help@jaxb.dev.java.net