Hi All ,
I have a xml file with m elements. I have a Java Class (existing) with n
attributes.

I want to map only a few of the xml elements into the Java Object's
attributes.

How do I specify that in the mapping file that I provide to the
unmarshaller?
I was unable to find any documentation regarding this(Document talks about
the reverse , i.e. during marshalling there is way to ignore the java
attributes.

Is there a way to ignore xml elements during unmarshalling?
Regards ,
Sayan

----------------------------------------------------------------------------------------------------------------------
Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and
is intended for use only by the individual or entity to which it is
addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded to you without
proper authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at mailto:[EMAIL PROTECTED] and delete this mail
from your records.
----------------------------------------------------------------------------------------------------------------------

Reply via email to