xstreamXSTREAM is a powerful genome datayou can do that by overriding the default marshaller. import org.springframework.oxm.xstream.XStreamMarshaller; import