return view.cast(serialization);
}
if (view.isAssignableFrom(RepresentationResult.class)) {
this.serialization = new XStreamXMLSerialization(response, extractor, initializer, builder);
return view.cast(new DefaultRepresentationResult(new FormatResolver() {
public String getAcceptFormat() {
return "xml";
}
}, this, Arrays.asList(this.serialization), null));