Hi,

[email protected] wrote:
> See Thread at: http://www.techienuggets.com/Detail?tx=107279 Posted on behalf 
> of a User
> 
> Hi Every one,
> 
> How to unmarshall a primitive type to Wrapper class, can Castor do that ?
> Let says I have the following XML file :
> <?xml version="1.0"  encoding="UTF-8"?>
> <age type ?int?>5</age>
> 
> 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 !
I have got a few questions:

- Can I assume that you have a Java class named Age with a property age
of type Integer ?

- Can the type attribute carry other value than 'int' ? If so, will the
Age class have more attributes as well ?

Cheers
Werner

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to