}
} else if (!tm.isRegistered(type, q)) {
if (XmlObject.class.isAssignableFrom(type)) {
q = XmlBeans.typeForClass(type).getName();
tm.register(type, q, new XmlBeanSerializerFactory(type, q),
new XmlBeanDeserializerFactory(type, q));
}
/*
* NOTE jcolwell@bea.com 2004-Oct-11 -- these datahandler using
* classes are generally already registered but just in case...
*/