Hi all,

i'm trying to write a generic marshaller/unmarshaller using castor 1.1.2.1.
What i need is to obtain a bean xml representation where elements names
reflects java class name (with camel notation, first character too) and
attributes names reflects member names (as defined by setter/getter).
It's all ok but i don't know how to say to castor to marshall every String
member as attribute and not as element. I can't use a mapping file (i think
so) because the behaviour must be the same for every bean i want to
marshall, that is, i don't want to write a different mapping file for every
bean. Is it possible?
Thanks in advance for help



-- 
View this message in context: 
http://www.nabble.com/Change-marshall-java.lang.String-behaviour-tp20013737p20013737.html
Sent from the Castor - User mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email


Reply via email to