private Converter nodeConverter;
private Converter nodeArrayConverter;
public Serializer() {
xstream = new XStream();
xstream.registerConverter(new BlobConverter());
nodeConverter = new SingleValueConverterWrapper(new NodeConverter());
nodeArrayConverter = new DelegateArrayConverter(nodeConverter,
xstream.getMapper());
}