@Override
public <T extends ItemBase> ModelClass<T> getModelClass(Class<T> itemClass) {
ModelClass<T> modelClass = javaClassToModelClass.get(itemClass);
if (modelClass == null) {
// Fallback to matching on XML info
ElementInfo elementInfo = XmlHelper.getXmlElementInfo(itemClass);
if (elementInfo != null) {
ServiceProvider serviceProvider = serviceProvidersByNamespace.get(elementInfo.namespace);
if (serviceProvider != null) {
ItemType itemType = new ItemType(elementInfo.elementName);