protected XStream objectMapper;
protected MappedXMLOutputFactory outputFactory;
protected MappedXMLInputFactory inputFactory;
public XStreamConverter() {
this.classMapper = new DefaultClassMapper();
Map nstjsons = new HashMap();
this.outputFactory = new MappedXMLOutputFactory(nstjsons);
this.inputFactory = new MappedXMLInputFactory(nstjsons);
this.objectMapper = new XStream();