Hold original XML content into unmarshalled object



I have a set of objects ready to be used with JAXB.

Every class implements the com.sun.xml.bind.Locatable interface.


Question:

During JAXB unmarhalling process, is it possibile to store into the unmarshalled object the source XML text associated to object?


No comments:

Post a Comment