Class cl = Class.forName(className);
String localName = className.substring((className.lastIndexOf(".") + 1));
QName qName = new QName(namespace,localName);
SerializerFactory sf = BaseSerializerFactory.createFactory(
Class.forName(serializer), cl, qName);
DeserializerFactory df = BaseDeserializerFactory.createFactory(
Class.forName(deserializer), cl, qName);
tm.register(cl, qName, sf, df);