SimpleAnyType result = XMLTypeFactory.eINSTANCE.createSimpleAnyType();
SimpleAnyType result = (SimpleAnyType)EcoreUtil.create(anySimpleType);
  public EObject createObject(EFactory eFactory, String classXMIName)  {    EPackage ePackage = eFactory.getEPackage();    if (extendedMetaData != null)    {      EClassifier eClassifier = extendedMetaData.getType(ePackage, classXMIName);      if (eClassifier == null)      {        return null;      }      else if (eClassifier instanceof EClass)      {        return (EObject) eFactory.create((EClass)eClassifier);      }      else      {        SimpleAnyType result = XMLTypeFactory.eINSTANCE.createSimpleAnyType();        result.setInstanceType((EDataType)eClassifier);        return result;      }    }    else    {      EClass eClass = (EClass)ePackage.getEClassifier(classXMIName);      if (eClass == null && xmlMap != null)      {        eClass = (EClass) xmlMap.getClassifier(ePackage.getNsURI(), classXMIName);      }        if (eClass != null)      {        return (EObject) eFactory.create(eClass);      }      else      {        return null;      }    }  }