/** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public Object createStateValueTypeFromString(EDataType eDataType, String initialValue) { if (initialValue == null) return null; Object result = null; RuntimeException exception = null; try { result = createStateValueTypeMember0FromString(Wfs20Package.Literals.STATE_VALUE_TYPE_MEMBER0, initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; } } catch (RuntimeException e) { exception = e; } try { result = createStateValueTypeMember1FromString(Wfs20Package.Literals.STATE_VALUE_TYPE_MEMBER1, initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; } } catch (RuntimeException e) { exception = e; } if (result != null || exception == null) return result; throw exception; }
try { result = createSpatialOperatorNameTypeMember0FromString(Fes20Package.Literals.SPATIAL_OPERATOR_NAME_TYPE_MEMBER0, initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;
try { result = XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.DURATION, initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public Object createPositiveIntegerWithStarFromString(EDataType eDataType, String initialValue) { if (initialValue == null) return null; Object result = null; RuntimeException exception = null; try { result = XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.POSITIVE_INTEGER, initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; } } catch (RuntimeException e) { exception = e; } try { result = createStarStringTypeFromString(Wfs20Package.Literals.STAR_STRING_TYPE, initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; } } catch (RuntimeException e) { exception = e; } if (result != null || exception == null) return result; throw exception; }
try { result = createTemporalOperatorNameTypeMember0FromString(Fes20Package.Literals.TEMPORAL_OPERATOR_NAME_TYPE_MEMBER0, initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;
try { result = createComparisonOperatorNameTypeMember0FromString(Fes20Package.Literals.COMPARISON_OPERATOR_NAME_TYPE_MEMBER0, initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;
try { result = createNonNegativeIntegerOrUnknownMember0FromString(Wfs20Package.Literals.NON_NEGATIVE_INTEGER_OR_UNKNOWN_MEMBER0, initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;
try { result = XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.DURATION, initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;
try { result = createSchemaElementFromString(Fes20Package.Literals.SCHEMA_ELEMENT, initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;
try { result = XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.DURATION, initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;
try { result = (XMLGregorianCalendar)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.DATE, initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;
try { result = createVersionActionTokensFromString(Fes20Package.Literals.VERSION_ACTION_TOKENS, initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;
try { result = createNullEnumerationFromString(Gml311Package.eINSTANCE.getNullEnumeration(), initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;
try { result = createNullEnumerationFromString(Gml311Package.eINSTANCE.getNullEnumeration(), initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;
try { result = createNullEnumerationFromString(Gml311Package.eINSTANCE.getNullEnumeration(), initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;
try { result = createNullEnumerationFromString(Gml311Package.eINSTANCE.getNullEnumeration(), initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;
try { result = createNullEnumerationMember0FromString(Gml311Package.eINSTANCE.getNullEnumerationMember0(), initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;
try { result = createTimeUnitTypeMember0FromString(Gml311Package.eINSTANCE.getTimeUnitTypeMember0(), initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;
try { result = (Enumerator)createDirectionTypeMember0FromString(Gml311Package.eINSTANCE.getDirectionTypeMember0(), initialValue); if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result; if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { return result;