{
      Ecore2XMLFactory theEcore2XMLFactory = (Ecore2XMLFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/emf/2005/Ecore2XML"); //$NON-NLS-1$ 
      if (theEcore2XMLFactory != null)
      {
        return theEcore2XMLFactory;
      }
    }