Skip to main content

@XmlJavaTypeAdapter annotation

1 reply [Last post]
sara1231
Offline
Joined: 2007-08-06
Points: 0

Is it possible to set @XmlJavaTypeAdapter using the JAXB SChema, currently i'm using the following code in my schema

But the Adapter1.java extending XmlAdapteris generated in a separate package org.w3._2001.xmlschema

How can I specify the package for Adapter1.java so that it gets genearated in the same folder as other files. . Please Help..

Thanks
Sara.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kohsuke
Offline
Joined: 2003-06-09
Points: 0