Top "Xstream" questions

XStream is a simple Java library to serialize objects to XML and back again.

Format Date Fields to String in XStream

I have a date field, which when converted to xml using XStream, gives time in milliseconds and zone. I just …

java date format xstream
Xstream no-args constructor error

I'm getting the following error when it tries to create an instance of 'Transacao' `Error: Cannot construct br.com.cbmp.…

java constructor xstream
Spring RestTemplate and XMLStream use with List of Objects

I am trying to use Spring RestTemplate to retrieve a List of Employee records, such as: public List<Employee&…

spring xstream resttemplate
Make XStream ignore one specific private variable

I have a little problem with a class I am currently writing a save function for. I'm using XStream (com.…

java xstream
How to parse XML to java object using XStream

i have some xml code, and i want to parse this to java object please help me. <Error> &…

java xstream
customising serialisation of java collections using xstream

I have an object that needs to be serialised as XML, which contains the following field: List<String> …

java collections xml-serialization xstream
Using Transient Entity in Hibernate to Update/Merge an existing Persistent Object

I am dealing with a fairly complex object graph in my database. I am using XStream to serialize and deserialize …

java hibernate merge xstream transient
XStream serialize null values

Suppose I have class Student { String name; int age; String teacher; } Then : public class App1 { public static void main(String[] …

java serialization xstream
XStream: how to marshal/unmarshal lists in a custom converter?

I have the following class (legacy; not annotatable) that is serialized with a custom converter: class Test { // some other variables …

java converter xstream
xStream problems - How to deserialize multiple objects

I'm using xStream to manipulate XML. All is okay. To put on XML archive and other things. But, I have …

java xml xml-parsing xstream