static { xs = new XStream(new DomDriver()); xs.alias("pipe", FilterPipeInfo.class); xs.alias("svr", String.class); // xs.alias("dfas", (new String[0]).getClass()); // xs.alias("name", null); }
@Override protected XStream createXStream() { XStream ret = super.createXStream(); ret.alias("errors", Errors.class); ret.alias("error", Error.class); ret.addImplicitCollection(Error.Parameters.class, "parameters", "parameter", String.class); return ret; }