XStream - Java-Springs

XStream is a simple library to serialize objects to XML and back again. It does not require any mapping, and generates clean XML.


The XStreamMarshaller does not require any configuration, and can be configured in an application context directly. To further customize the XML, you can set an alias map, which consists of string aliases mapped to classes:

<bean id="xstreamMarshaller" class="org.
<property name="aliases">
<prop key="Flight">org.springframework.oxm.xstream.Flight</prop>

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Java-Springs Topics