Hi, ghania ferrag wrote: > Hi Every one, > > How to unmarshall a primitive type to Wrapper class, can Castor do that ? Yes, Castor can perfectly well deal with primitive types and their object wrappers in gernal.
> Let says I have the following XML file : > <?xml version="1.0" encoding="UTF-8"?> > <age type=“int”>5</age> There is no straight-forward solution for this, to be honest; but the problem is not related to whether 'ints' or 'Integer' is uspported, but to your XML document structure. In such a case, you'd usually have to use a FieldHandler to convert your XML to its object representation. > > Can the Castor unmarshaller construct the Integer object from this XML > presentation ? if Yes how I can achieve this ? please if you have any > idea let me know. > > My Best Regards, > > Ghania Cheers Werner > > > Découvrez les styles qui font sensation sur Yahoo! Québec Avatars. > http://cf.avatars.yahoo.com/ > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

