You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by Ramona Krickan <ra...@zooplus.de> on 2006/04/06 19:21:45 UTC

Wrapper classes instead of primitive types in the Generated class es

Hello,

I have a problem with the resulting Java Interfaces from the XML Schema
File. 
xsd:long maps to the Java primitive Type long and not to the Java Wrapper
class Long. Is it possible to change that or is it planned to change that?
In JAXB  you can specify a javaType you want to have with the help of
Annotations:
<xsd:annotation>
	<xsd:appinfo>
		<jxb:javaType name="java.lang.Integer"/>
	</xsd:appinfo>
</xsd:annotation>
Is there a way of doing this with XmlBeans?

Thanks in advance for any help.

Ramona


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org