Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
XStreamMarshaller cannot be easily subclassed [SWS-646] #749
The member variables of XStreamMarshaller are private, so it is difficult to subclass to introduce custom behavior. Could you please make the member variables protected instead? In particular, I need to access the streamDriver member variable.
No further details from SWS-646
Arjen Poutsma commented
You can subclass XStreamMarshaller, and then override the customizeXstream method, see http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/oxm/xstream/XStreamMarshaller.html#customizeXStream(com.thoughtworks.xstream.XStream)