}
public void registerTypeMapping(Class javaType, QName xmlType,
Class sfClass, Class dfClass, boolean force){
// Instantiate the factory using introspection.
SerializerFactory sf = BaseSerializerFactory.createFactory (sfClass, javaType, xmlType);
DeserializerFactory df = BaseDeserializerFactory.createFactory(dfClass, javaType, xmlType);
if (sf != null || df != null) {
registerTypeMapping(javaType, xmlType, sf, df, force);
}
}