XmlAdapter<Object,Object> adapter = findAdapter(am, true, type);
if (adapter != null) {
// Ugh. Must match to see if adapter's bounded type (result to map to) matches property type
if (isContainerType(type)) {
if (adapterTypeMatches(adapter, type)) {
return new XmlAdapterJsonSerializer(adapter);
}
} else {
return new XmlAdapterJsonSerializer(adapter);
}
}
// [JACKSON-150]: add support for additional core XML types needed by JAXB
if (type != null) {
if (_dataHandlerSerializer != null && isDataHandler(type)) {