Details
Description
In order to support some flexibility over how the XML is loaded, would be good to be able to use a custom XML Reader / Writer that can adjust it's behaviour based on the state of the (Un)marshaller.
Add new interfaces
public interface UnmarshallerAwareXMLReader {
void setUnmarshaller(Unmarshaller unmarshaller);
}
public interface MarshallerAwareXMLWriter {
void setMarshaller(Marshaller unmarshaller);
}