jaxb and annotations - is it possible?

W

Wojtas

Hi!!

I'm generating java classess from xsd file using jaxb.
Is it possible to turn off annotations?
I don't want em to be in generated classess.

Or maybe there is another tool that can do that?

Please help me...
 
F

franco

Hi!!

I'm generating java classess from xsd file using jaxb.
Is it possible to turn off annotations?
I don't want em to be in generated classess.

Or maybe there is another tool that can do that?

Please help me...

is there a way to specify <=java4 compatibility? i don't know much
about jaxb, but if there is jaxb pre-java5 then annotations don't
exist.
 
T

Tim Hallwyl

Wojtas skrev:
Hi!!

I'm generating java classess from xsd file using jaxb.
Is it possible to turn off annotations?
I don't want em to be in generated classess.

Or maybe there is another tool that can do that?

Please help me...
I believe JAXB 1.0 can be used with JRE 1.4, thus without annotations.
JAXB 2.0 without annotations? No. But then again take a look at:

http://forums.java.net/jive/thread.jspa?threadID=411
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top