super(getDeserializerClass(javaType, xmlType), xmlType, javaType); log.debug("Enter/Exit: JAFDataHandlerDeserializerFactory(" + javaType + ", " + xmlType + ")");
super(JAFDataHandlerDeserializer.class); log.debug("Enter/Exit: JAFDataHandlerDeserializerFactory()");
Class deser; if (Image.class.isAssignableFrom(javaType)) { deser = ImageDataHandlerDeserializer.class; } else if (String.class.isAssignableFrom(javaType)) { deser = PlainTextDataHandlerDeserializer.class; } else if (Source.class.isAssignableFrom(javaType)) { deser = SourceDataHandlerDeserializer.class; } else if (MimeMultipart.class.isAssignableFrom(javaType)) { deser = MimeMultipartDataHandlerDeserializer.class; } else if (OctetStream.class.isAssignableFrom(javaType)) { deser = OctetStreamDataHandlerDeserializer.class; } else { deser = JAFDataHandlerDeserializer.class; } return deser;