{
TypeInfo typeInfo = JBossXBBuilder.configuration.getTypeInfo(type);
BeanInfo adapterInfo = JBossXBBuilder.configuration.getBeanInfo(adapter);
ValueAdapter valueAdapter = (ValueAdapter) adapterInfo.newInstance();
QName qName = generateXmlName(typeInfo, XmlNsForm.QUALIFIED, overrideNamespace, overrideName);
TypeInfo parentType = typeInfo.getTypeInfoFactory().getTypeInfo(String.class);
TypeBinding parent = getSimpleType(parentType);