public class XStreamCreator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private com.thoughtworks.xstream.XStream |
xstream
the XStream instance.
|
Constructor and Description |
---|
XStreamCreator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
serializeXml(java.util.List<Item> itemList)
serialize the object to XML string.
|
public java.lang.String serializeXml(java.util.List<Item> itemList)
itemList
- that should be serialize.