xstream

Xml structure with XStream

I have class: public class EnglishWord implements Serializable, Comparable, Cloneable { static Logger logger = Logger.getLogger(EnglishWord.class); private static final long serialVersionUID = -5832989302176618764L; private String word;// in lowercase if not personal name private int occurenceNumber = 1;// 0,1,2,3, private...

XStream with xml and java object

I have two java classes.... public class Item { private int itemIndex; private String containerType; private Map<String, List<String>> contentType; private String status; private List<String> remark; // their getters and setters } Please tell me how to convert Item object to xml and xml to Item object? I have ...

XStream empty tag when List is empty

Hi, When using XStream, I get am empty tag(on the collection field) if I try to serialise an Object has java.util.List collection which is empty. How to I remove that empty tag in the xml output? ...

XStream aliasing problem - generating "javassit" and junk characters

I'm using XStream to convert my Hibernate entities to XML. All the entities were properly converted to XML until I changed the attributes to LAZY fetching. I see problems in aliasing. I see some javassit code. However, this is happening to only one node. As you can see, for the "id2" it has aliased properly. <foo> <domain id="domain...

Is XStream still active/supported?

Does anyone know if XStream is still active/supported? It looks relevant to what we are trying to do, but it appears there have been no new releases or web site updates (at http://xstream.codehaus.org) for almost two years (since Dec 2008), therefore I was a bit suspicious ... wanted to check if this component is still in active use, or...