/** * Creates the default factory implementation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static DatatypeFactory init() { try { DatatypeFactory theDatatypeFactory = (DatatypeFactory)EPackage.Registry.INSTANCE.getEFactory(DatatypePackage.eNS_URI); if (theDatatypeFactory != null) { return theDatatypeFactory; } } catch (Exception exception) { EcorePlugin.INSTANCE.log(exception); } return new DatatypeFactoryImpl(); }
/** * Creates the default factory implementation. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static DatatypeFactory init() { try { DatatypeFactory theDatatypeFactory = (DatatypeFactory)EPackage.Registry.INSTANCE.getEFactory(DatatypePackage.eNS_URI); if (theDatatypeFactory != null) { return theDatatypeFactory; } } catch (Exception exception) { EcorePlugin.INSTANCE.log(exception); } return new DatatypeFactoryImpl(); }