public CRestBuilder deserializeXmlWith(Class<? extends Deserializer> deserializer, Map<String, Object> config) {
        this.xmlDeserializer = deserializer;
        this.xmlDeserializerConfig.clear();
        this.xmlDeserializerConfig.putAll(config);
        return this;
    }
public CRestBuilder deserializeXmlWith ( Class < ? extends Deserializer > deserializer , Map < String , Object > config ) { this . xmlDeserializer = deserializer ; this . xmlDeserializerConfig . clear ( ) ; this . xmlDeserializerConfig . putAll ( config ) ; return this ; }
<p>Overrides the default {@link org.codegist.crest.serializer.jaxb.JaxbDeserializer} XML deserializer with the given one</p>
<p>By default, <b>CRest</b> will use this deserializer for the following response Content-Type:</p>
<ul>
<li>application/xml</li>
<li>text/xml</li>
</ul>
@param deserializer deserializer to use for XML response Content-Type requests
@param config State that will be passed to the deserializer along with the CRestConfig object if the deserializer has declared a single argument constructor with CRestConfig parameter type
@return current builder
@see org.codegist.crest.serializer.jaxb.JaxbDeserializer
@see org.codegist.crest.serializer.simplexml.SimpleXmlDeserializer