1 17 package org.eclipse.emf.ecore.xml.type.impl; 18 19 20 import java.math.BigDecimal ; 21 import java.math.BigInteger ; 22 import java.util.List ; 23 24 import org.eclipse.emf.ecore.EAttribute; 25 import org.eclipse.emf.ecore.EClass; 26 import org.eclipse.emf.ecore.EDataType; 27 import org.eclipse.emf.ecore.EPackage; 28 import org.eclipse.emf.ecore.EReference; 29 import org.eclipse.emf.ecore.EValidator; 30 31 import org.eclipse.emf.ecore.impl.EPackageImpl; 32 import org.eclipse.emf.ecore.xml.type.AnyType; 33 import org.eclipse.emf.ecore.xml.type.SimpleAnyType; 34 import org.eclipse.emf.ecore.xml.type.XMLTypeDocumentRoot; 35 import org.eclipse.emf.ecore.xml.type.XMLTypeFactory; 36 import org.eclipse.emf.ecore.xml.type.XMLTypePackage; 37 38 39 import org.eclipse.emf.ecore.xml.type.util.XMLTypeValidator; 40 41 47 public class XMLTypePackageImpl extends EPackageImpl implements XMLTypePackage 48 { 49 54 private EClass anyTypeEClass = null; 55 56 61 private EClass simpleAnyTypeEClass = null; 62 63 68 private EClass xmlTypeDocumentRootEClass = null; 69 70 75 private EDataType anySimpleTypeEDataType = null; 76 77 82 private EDataType anyURIEDataType = null; 83 84 89 private EDataType base64BinaryEDataType = null; 90 91 96 private EDataType booleanEDataType = null; 97 98 103 private EDataType booleanObjectEDataType = null; 104 105 110 private EDataType decimalEDataType = null; 111 112 117 private EDataType integerEDataType = null; 118 119 124 private EDataType intObjectEDataType = null; 125 126 131 private EDataType longEDataType = null; 132 133 138 private EDataType longObjectEDataType = null; 139 140 145 private EDataType intEDataType = null; 146 147 152 private EDataType shortEDataType = null; 153 154 159 private EDataType shortObjectEDataType = null; 160 161 166 private EDataType byteEDataType = null; 167 168 173 private EDataType byteObjectEDataType = null; 174 175 180 private EDataType dateEDataType = null; 181 182 187 private EDataType dateTimeEDataType = null; 188 189 194 private EDataType stringEDataType = null; 195 196 201 private EDataType doubleEDataType = null; 202 203 208 private EDataType doubleObjectEDataType = null; 209 210 215 private EDataType durationEDataType = null; 216 217 222 private EDataType entitiesBaseEDataType = null; 223 224 229 private EDataType normalizedStringEDataType = null; 230 231 236 private EDataType tokenEDataType = null; 237 238 243 private EDataType nameEDataType = null; 244 245 250 private EDataType ncNameEDataType = null; 251 252 257 private EDataType entityEDataType = null; 258 259 264 private EDataType entitiesEDataType = null; 265 266 271 private EDataType floatEDataType = null; 272 273 278 private EDataType floatObjectEDataType = null; 279 280 285 private EDataType gDayEDataType = null; 286 287 292 private EDataType gMonthEDataType = null; 293 294 299 private EDataType gMonthDayEDataType = null; 300 301 306 private EDataType gYearEDataType = null; 307 308 313 private EDataType gYearMonthEDataType = null; 314 315 320 private EDataType hexBinaryEDataType = null; 321 322 327 private EDataType idEDataType = null; 328 329 334 private EDataType idrefEDataType = null; 335 336 341 private EDataType idrefsBaseEDataType = null; 342 343 348 private EDataType idrefsEDataType = null; 349 350 355 private EDataType languageEDataType = null; 356 357 362 private EDataType nonPositiveIntegerEDataType = null; 363 364 369 private EDataType negativeIntegerEDataType = null; 370 371 376 private EDataType nmtokenEDataType = null; 377 378 383 private EDataType nmtokensBaseEDataType = null; 384 385 390 private EDataType nmtokensEDataType = null; 391 392 397 private EDataType nonNegativeIntegerEDataType = null; 398 399 404 private EDataType notationEDataType = null; 405 406 411 private EDataType positiveIntegerEDataType = null; 412 413 418 private EDataType qNameEDataType = null; 419 420 425 private EDataType timeEDataType = null; 426 427 432 private EDataType unsignedLongEDataType = null; 433 434 439 private EDataType unsignedIntEDataType = null; 440 441 446 private EDataType unsignedIntObjectEDataType = null; 447 448 453 private EDataType unsignedShortEDataType = null; 454 455 460 private EDataType unsignedShortObjectEDataType = null; 461 462 467 private EDataType unsignedByteEDataType = null; 468 469 474 private EDataType unsignedByteObjectEDataType = null; 475 476 491 private XMLTypePackageImpl() 492 { 493 super(eNS_URI, XMLTypeFactory.eINSTANCE); 494 } 495 496 501 private static boolean isInited = false; 502 503 525 public static XMLTypePackage init() 526 { 527 if (isInited) return (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); 528 529 XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof XMLTypePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new XMLTypePackageImpl()); 531 532 isInited = true; 533 534 theXMLTypePackage.createPackageContents(); 536 537 theXMLTypePackage.initializePackageContents(); 539 540 EValidator.Registry.INSTANCE.put 542 (theXMLTypePackage, 543 new EValidator.Descriptor() 544 { 545 public EValidator getEValidator() 546 { 547 return XMLTypeValidator.INSTANCE; 548 } 549 }); 550 551 theXMLTypePackage.freeze(); 553 554 return theXMLTypePackage; 555 } 556 557 562 public EClass getAnyType() 563 { 564 return anyTypeEClass; 565 } 566 567 572 public EAttribute getAnyType_Mixed() 573 { 574 return (EAttribute)anyTypeEClass.getEStructuralFeatures().get(0); 575 } 576 577 582 public EAttribute getAnyType_Any() 583 { 584 return (EAttribute)anyTypeEClass.getEStructuralFeatures().get(1); 585 } 586 587 592 public EAttribute getAnyType_AnyAttribute() 593 { 594 return (EAttribute)anyTypeEClass.getEStructuralFeatures().get(2); 595 } 596 597 602 public EClass getSimpleAnyType() 603 { 604 return simpleAnyTypeEClass; 605 } 606 607 612 public EAttribute getSimpleAnyType_RawValue() 613 { 614 return (EAttribute)simpleAnyTypeEClass.getEStructuralFeatures().get(0); 615 } 616 617 622 public EAttribute getSimpleAnyType_Value() 623 { 624 return (EAttribute)simpleAnyTypeEClass.getEStructuralFeatures().get(1); 625 } 626 627 632 public EReference getSimpleAnyType_InstanceType() 633 { 634 return (EReference)simpleAnyTypeEClass.getEStructuralFeatures().get(2); 635 } 636 637 642 public EClass getXMLTypeDocumentRoot() 643 { 644 return xmlTypeDocumentRootEClass; 645 } 646 647 652 public EAttribute getXMLTypeDocumentRoot_Mixed() 653 { 654 return (EAttribute)xmlTypeDocumentRootEClass.getEStructuralFeatures().get(0); 655 } 656 657 662 public EReference getXMLTypeDocumentRoot_XMLNSPrefixMap() 663 { 664 return (EReference)xmlTypeDocumentRootEClass.getEStructuralFeatures().get(1); 665 } 666 667 672 public EReference getXMLTypeDocumentRoot_XSISchemaLocation() 673 { 674 return (EReference)xmlTypeDocumentRootEClass.getEStructuralFeatures().get(2); 675 } 676 677 682 public EAttribute getXMLTypeDocumentRoot_CDATA() 683 { 684 return (EAttribute)xmlTypeDocumentRootEClass.getEStructuralFeatures().get(3); 685 } 686 687 692 public EAttribute getXMLTypeDocumentRoot_Comment() 693 { 694 return (EAttribute)xmlTypeDocumentRootEClass.getEStructuralFeatures().get(4); 695 } 696 697 702 public EAttribute getXMLTypeDocumentRoot_Text() 703 { 704 return (EAttribute)xmlTypeDocumentRootEClass.getEStructuralFeatures().get(5); 705 } 706 707 712 public EDataType getAnySimpleType() 713 { 714 return anySimpleTypeEDataType; 715 } 716 717 722 public EDataType getAnyURI() 723 { 724 return anyURIEDataType; 725 } 726 727 732 public EDataType getBase64Binary() 733 { 734 return base64BinaryEDataType; 735 } 736 737 742 public EDataType getBoolean() 743 { 744 return booleanEDataType; 745 } 746 747 752 public EDataType getBooleanObject() 753 { 754 return booleanObjectEDataType; 755 } 756 757 762 public EDataType getDecimal() 763 { 764 return decimalEDataType; 765 } 766 767 772 public EDataType getInteger() 773 { 774 return integerEDataType; 775 } 776 777 782 public EDataType getIntObject() 783 { 784 return intObjectEDataType; 785 } 786 787 792 public EDataType getLong() 793 { 794 return longEDataType; 795 } 796 797 802 public EDataType getLongObject() 803 { 804 return longObjectEDataType; 805 } 806 807 812 public EDataType getInt() 813 { 814 return intEDataType; 815 } 816 817 822 public EDataType getShort() 823 { 824 return shortEDataType; 825 } 826 827 832 public EDataType getShortObject() 833 { 834 return shortObjectEDataType; 835 } 836 837 842 public EDataType getByte() 843 { 844 return byteEDataType; 845 } 846 847 852 public EDataType getByteObject() 853 { 854 return byteObjectEDataType; 855 } 856 857 862 public EDataType getDate() 863 { 864 return dateEDataType; 865 } 866 867 872 public EDataType getDateTime() 873 { 874 return dateTimeEDataType; 875 } 876 877 882 public EDataType getString() 883 { 884 return stringEDataType; 885 } 886 887 892 public EDataType getDouble() 893 { 894 return doubleEDataType; 895 } 896 897 902 public EDataType getDoubleObject() 903 { 904 return doubleObjectEDataType; 905 } 906 907 912 public EDataType getDuration() 913 { 914 return durationEDataType; 915 } 916 917 922 public EDataType getENTITIESBase() 923 { 924 return entitiesBaseEDataType; 925 } 926 927 932 public EDataType getNormalizedString() 933 { 934 return normalizedStringEDataType; 935 } 936 937 942 public EDataType getToken() 943 { 944 return tokenEDataType; 945 } 946 947 952 public EDataType getName_() 953 { 954 return nameEDataType; 955 } 956 957 962 public EDataType getNCName() 963 { 964 return ncNameEDataType; 965 } 966 967 972 public EDataType getENTITY() 973 { 974 return entityEDataType; 975 } 976 977 982 public EDataType getENTITIES() 983 { 984 return entitiesEDataType; 985 } 986 987 992 public EDataType getFloat() 993 { 994 return floatEDataType; 995 } 996 997 1002 public EDataType getFloatObject() 1003 { 1004 return floatObjectEDataType; 1005 } 1006 1007 1012 public EDataType getGDay() 1013 { 1014 return gDayEDataType; 1015 } 1016 1017 1022 public EDataType getGMonth() 1023 { 1024 return gMonthEDataType; 1025 } 1026 1027 1032 public EDataType getGMonthDay() 1033 { 1034 return gMonthDayEDataType; 1035 } 1036 1037 1042 public EDataType getGYear() 1043 { 1044 return gYearEDataType; 1045 } 1046 1047 1052 public EDataType getGYearMonth() 1053 { 1054 return gYearMonthEDataType; 1055 } 1056 1057 1062 public EDataType getHexBinary() 1063 { 1064 return hexBinaryEDataType; 1065 } 1066 1067 1072 public EDataType getID() 1073 { 1074 return idEDataType; 1075 } 1076 1077 1082 public EDataType getIDREF() 1083 { 1084 return idrefEDataType; 1085 } 1086 1087 1092 public EDataType getIDREFSBase() 1093 { 1094 return idrefsBaseEDataType; 1095 } 1096 1097 1102 public EDataType getIDREFS() 1103 { 1104 return idrefsEDataType; 1105 } 1106 1107 1112 public EDataType getLanguage() 1113 { 1114 return languageEDataType; 1115 } 1116 1117 1122 public EDataType getNonPositiveInteger() 1123 { 1124 return nonPositiveIntegerEDataType; 1125 } 1126 1127 1132 public EDataType getNegativeInteger() 1133 { 1134 return negativeIntegerEDataType; 1135 } 1136 1137 1142 public EDataType getNMTOKEN() 1143 { 1144 return nmtokenEDataType; 1145 } 1146 1147 1152 public EDataType getNMTOKENSBase() 1153 { 1154 return nmtokensBaseEDataType; 1155 } 1156 1157 1162 public EDataType getNMTOKENS() 1163 { 1164 return nmtokensEDataType; 1165 } 1166 1167 1172 public EDataType getNonNegativeInteger() 1173 { 1174 return nonNegativeIntegerEDataType; 1175 } 1176 1177 1182 public EDataType getNOTATION() 1183 { 1184 return notationEDataType; 1185 } 1186 1187 1192 public EDataType getPositiveInteger() 1193 { 1194 return positiveIntegerEDataType; 1195 } 1196 1197 1202 public EDataType getQName() 1203 { 1204 return qNameEDataType; 1205 } 1206 1207 1212 public EDataType getTime() 1213 { 1214 return timeEDataType; 1215 } 1216 1217 1222 public EDataType getUnsignedLong() 1223 { 1224 return unsignedLongEDataType; 1225 } 1226 1227 1232 public EDataType getUnsignedInt() 1233 { 1234 return unsignedIntEDataType; 1235 } 1236 1237 1242 public EDataType getUnsignedIntObject() 1243 { 1244 return unsignedIntObjectEDataType; 1245 } 1246 1247 1252 public EDataType getUnsignedShort() 1253 { 1254 return unsignedShortEDataType; 1255 } 1256 1257 1262 public EDataType getUnsignedShortObject() 1263 { 1264 return unsignedShortObjectEDataType; 1265 } 1266 1267 1272 public EDataType getUnsignedByte() 1273 { 1274 return unsignedByteEDataType; 1275 } 1276 1277 1282 public EDataType getUnsignedByteObject() 1283 { 1284 return unsignedByteObjectEDataType; 1285 } 1286 1287 1292 public XMLTypeFactory getXMLTypeFactory() 1293 { 1294 return (XMLTypeFactory)getEFactoryInstance(); 1295 } 1296 1297 1302 private boolean isCreated = false; 1303 1304 1311 public void createPackageContents() 1312 { 1313 if (isCreated) return; 1314 isCreated = true; 1315 1316 anyTypeEClass = createEClass(ANY_TYPE); 1318 createEAttribute(anyTypeEClass, ANY_TYPE__MIXED); 1319 createEAttribute(anyTypeEClass, ANY_TYPE__ANY); 1320 createEAttribute(anyTypeEClass, ANY_TYPE__ANY_ATTRIBUTE); 1321 1322 simpleAnyTypeEClass = createEClass(SIMPLE_ANY_TYPE); 1323 createEAttribute(simpleAnyTypeEClass, SIMPLE_ANY_TYPE__RAW_VALUE); 1324 createEAttribute(simpleAnyTypeEClass, SIMPLE_ANY_TYPE__VALUE); 1325 createEReference(simpleAnyTypeEClass, SIMPLE_ANY_TYPE__INSTANCE_TYPE); 1326 1327 xmlTypeDocumentRootEClass = createEClass(XML_TYPE_DOCUMENT_ROOT); 1328 createEAttribute(xmlTypeDocumentRootEClass, XML_TYPE_DOCUMENT_ROOT__MIXED); 1329 createEReference(xmlTypeDocumentRootEClass, XML_TYPE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP); 1330 createEReference(xmlTypeDocumentRootEClass, XML_TYPE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION); 1331 createEAttribute(xmlTypeDocumentRootEClass, XML_TYPE_DOCUMENT_ROOT__CDATA); 1332 createEAttribute(xmlTypeDocumentRootEClass, XML_TYPE_DOCUMENT_ROOT__COMMENT); 1333 createEAttribute(xmlTypeDocumentRootEClass, XML_TYPE_DOCUMENT_ROOT__TEXT); 1334 1335 anySimpleTypeEDataType = createEDataType(ANY_SIMPLE_TYPE); 1337 anyURIEDataType = createEDataType(ANY_URI); 1338 base64BinaryEDataType = createEDataType(BASE64_BINARY); 1339 booleanEDataType = createEDataType(BOOLEAN); 1340 booleanObjectEDataType = createEDataType(BOOLEAN_OBJECT); 1341 byteEDataType = createEDataType(BYTE); 1342 byteObjectEDataType = createEDataType(BYTE_OBJECT); 1343 dateEDataType = createEDataType(DATE); 1344 dateTimeEDataType = createEDataType(DATE_TIME); 1345 decimalEDataType = createEDataType(DECIMAL); 1346 doubleEDataType = createEDataType(DOUBLE); 1347 doubleObjectEDataType = createEDataType(DOUBLE_OBJECT); 1348 durationEDataType = createEDataType(DURATION); 1349 entitiesEDataType = createEDataType(ENTITIES); 1350 entitiesBaseEDataType = createEDataType(ENTITIES_BASE); 1351 entityEDataType = createEDataType(ENTITY); 1352 floatEDataType = createEDataType(FLOAT); 1353 floatObjectEDataType = createEDataType(FLOAT_OBJECT); 1354 gDayEDataType = createEDataType(GDAY); 1355 gMonthEDataType = createEDataType(GMONTH); 1356 gMonthDayEDataType = createEDataType(GMONTH_DAY); 1357 gYearEDataType = createEDataType(GYEAR); 1358 gYearMonthEDataType = createEDataType(GYEAR_MONTH); 1359 hexBinaryEDataType = createEDataType(HEX_BINARY); 1360 idEDataType = createEDataType(ID); 1361 idrefEDataType = createEDataType(IDREF); 1362 idrefsEDataType = createEDataType(IDREFS); 1363 idrefsBaseEDataType = createEDataType(IDREFS_BASE); 1364 intEDataType = createEDataType(INT); 1365 integerEDataType = createEDataType(INTEGER); 1366 intObjectEDataType = createEDataType(INT_OBJECT); 1367 languageEDataType = createEDataType(LANGUAGE); 1368 longEDataType = createEDataType(LONG); 1369 longObjectEDataType = createEDataType(LONG_OBJECT); 1370 nameEDataType = createEDataType(NAME); 1371 ncNameEDataType = createEDataType(NC_NAME); 1372 negativeIntegerEDataType = createEDataType(NEGATIVE_INTEGER); 1373 nmtokenEDataType = createEDataType(NMTOKEN); 1374 nmtokensEDataType = createEDataType(NMTOKENS); 1375 nmtokensBaseEDataType = createEDataType(NMTOKENS_BASE); 1376 nonNegativeIntegerEDataType = createEDataType(NON_NEGATIVE_INTEGER); 1377 nonPositiveIntegerEDataType = createEDataType(NON_POSITIVE_INTEGER); 1378 normalizedStringEDataType = createEDataType(NORMALIZED_STRING); 1379 notationEDataType = createEDataType(NOTATION); 1380 positiveIntegerEDataType = createEDataType(POSITIVE_INTEGER); 1381 qNameEDataType = createEDataType(QNAME); 1382 shortEDataType = createEDataType(SHORT); 1383 shortObjectEDataType = createEDataType(SHORT_OBJECT); 1384 stringEDataType = createEDataType(STRING); 1385 timeEDataType = createEDataType(TIME); 1386 tokenEDataType = createEDataType(TOKEN); 1387 unsignedByteEDataType = createEDataType(UNSIGNED_BYTE); 1388 unsignedByteObjectEDataType = createEDataType(UNSIGNED_BYTE_OBJECT); 1389 unsignedIntEDataType = createEDataType(UNSIGNED_INT); 1390 unsignedIntObjectEDataType = createEDataType(UNSIGNED_INT_OBJECT); 1391 unsignedLongEDataType = createEDataType(UNSIGNED_LONG); 1392 unsignedShortEDataType = createEDataType(UNSIGNED_SHORT); 1393 unsignedShortObjectEDataType = createEDataType(UNSIGNED_SHORT_OBJECT); 1394 } 1395 1396 1401 private boolean isInitialized = false; 1402 1403 1410 public void initializePackageContents() 1411 { 1412 if (isInitialized) return; 1413 isInitialized = true; 1414 1415 setName(eNAME); 1417 setNsPrefix(eNS_PREFIX); 1418 setNsURI(eNS_URI); 1419 1420 XMLTypePackageImpl theXMLTypePackage_1 = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); 1422 1423 simpleAnyTypeEClass.getESuperTypes().add(this.getAnyType()); 1425 1426 initEClass(anyTypeEClass, AnyType.class, "AnyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1428 initEAttribute(getAnyType_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, AnyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1429 initEAttribute(getAnyType_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 0, -1, AnyType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); 1430 initEAttribute(getAnyType_AnyAttribute(), ecorePackage.getEFeatureMapEntry(), "anyAttribute", null, 0, -1, AnyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1431 1432 initEClass(simpleAnyTypeEClass, SimpleAnyType.class, "SimpleAnyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1433 initEAttribute(getSimpleAnyType_RawValue(), theXMLTypePackage_1.getString(), "rawValue", null, 0, 1, SimpleAnyType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); 1434 initEAttribute(getSimpleAnyType_Value(), theXMLTypePackage_1.getAnySimpleType(), "value", null, 0, 1, SimpleAnyType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); 1435 initEReference(getSimpleAnyType_InstanceType(), ecorePackage.getEDataType(), null, "instanceType", null, 1, 1, SimpleAnyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1436 1437 initEClass(xmlTypeDocumentRootEClass, XMLTypeDocumentRoot.class, "XMLTypeDocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1438 initEAttribute(getXMLTypeDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1439 initEReference(getXMLTypeDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1440 initEReference(getXMLTypeDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1441 initEAttribute(getXMLTypeDocumentRoot_CDATA(), this.getString(), "cDATA", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); 1442 initEAttribute(getXMLTypeDocumentRoot_Comment(), this.getString(), "comment", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); 1443 initEAttribute(getXMLTypeDocumentRoot_Text(), this.getString(), "text", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); 1444 1445 initEDataType(anySimpleTypeEDataType, Object .class, "AnySimpleType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1447 initEDataType(anyURIEDataType, String .class, "AnyURI", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1448 initEDataType(base64BinaryEDataType, byte[].class, "Base64Binary", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1449 initEDataType(booleanEDataType, boolean.class, "Boolean", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1450 initEDataType(booleanObjectEDataType, Boolean .class, "BooleanObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1451 initEDataType(byteEDataType, byte.class, "Byte", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1452 initEDataType(byteObjectEDataType, Byte .class, "ByteObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1453 initEDataType(dateEDataType, Object .class, "Date", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1454 initEDataType(dateTimeEDataType, Object .class, "DateTime", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1455 initEDataType(decimalEDataType, BigDecimal .class, "Decimal", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1456 initEDataType(doubleEDataType, double.class, "Double", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1457 initEDataType(doubleObjectEDataType, Double .class, "DoubleObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1458 initEDataType(durationEDataType, Object .class, "Duration", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1459 initEDataType(entitiesEDataType, List .class, "ENTITIES", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1460 initEDataType(entitiesBaseEDataType, List .class, "ENTITIESBase", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1461 initEDataType(entityEDataType, String .class, "ENTITY", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1462 initEDataType(floatEDataType, float.class, "Float", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1463 initEDataType(floatObjectEDataType, Float .class, "FloatObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1464 initEDataType(gDayEDataType, Object .class, "GDay", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1465 initEDataType(gMonthEDataType, Object .class, "GMonth", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1466 initEDataType(gMonthDayEDataType, Object .class, "GMonthDay", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1467 initEDataType(gYearEDataType, Object .class, "GYear", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1468 initEDataType(gYearMonthEDataType, Object .class, "GYearMonth", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1469 initEDataType(hexBinaryEDataType, byte[].class, "HexBinary", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1470 initEDataType(idEDataType, String .class, "ID", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1471 initEDataType(idrefEDataType, String .class, "IDREF", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1472 initEDataType(idrefsEDataType, List .class, "IDREFS", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1473 initEDataType(idrefsBaseEDataType, List .class, "IDREFSBase", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1474 initEDataType(intEDataType, int.class, "Int", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1475 initEDataType(integerEDataType, BigInteger .class, "Integer", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1476 initEDataType(intObjectEDataType, Integer .class, "IntObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1477 initEDataType(languageEDataType, String .class, "Language", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1478 initEDataType(longEDataType, long.class, "Long", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1479 initEDataType(longObjectEDataType, Long .class, "LongObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1480 initEDataType(nameEDataType, String .class, "Name", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1481 initEDataType(ncNameEDataType, String .class, "NCName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1482 initEDataType(negativeIntegerEDataType, BigInteger .class, "NegativeInteger", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1483 initEDataType(nmtokenEDataType, String .class, "NMTOKEN", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1484 initEDataType(nmtokensEDataType, List .class, "NMTOKENS", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1485 initEDataType(nmtokensBaseEDataType, List .class, "NMTOKENSBase", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1486 initEDataType(nonNegativeIntegerEDataType, BigInteger .class, "NonNegativeInteger", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1487 initEDataType(nonPositiveIntegerEDataType, BigInteger .class, "NonPositiveInteger", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1488 initEDataType(normalizedStringEDataType, String .class, "NormalizedString", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1489 initEDataType(notationEDataType, Object .class, "NOTATION", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1490 initEDataType(positiveIntegerEDataType, BigInteger .class, "PositiveInteger", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1491 initEDataType(qNameEDataType, Object .class, "QName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1492 initEDataType(shortEDataType, short.class, "Short", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1493 initEDataType(shortObjectEDataType, Short .class, "ShortObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1494 initEDataType(stringEDataType, String .class, "String", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1495 initEDataType(timeEDataType, Object .class, "Time", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1496 initEDataType(tokenEDataType, String .class, "Token", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1497 initEDataType(unsignedByteEDataType, short.class, "UnsignedByte", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1498 initEDataType(unsignedByteObjectEDataType, Short .class, "UnsignedByteObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1499 initEDataType(unsignedIntEDataType, long.class, "UnsignedInt", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1500 initEDataType(unsignedIntObjectEDataType, Long .class, "UnsignedIntObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1501 initEDataType(unsignedLongEDataType, BigInteger .class, "UnsignedLong", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1502 initEDataType(unsignedShortEDataType, int.class, "UnsignedShort", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1503 initEDataType(unsignedShortObjectEDataType, Integer .class, "UnsignedShortObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); 1504 1505 createResource(eNS_URI); 1507 1508 createExtendedMetaDataAnnotations(); 1511 } 1512 1513 1519 protected void createExtendedMetaDataAnnotations() 1520 { 1521 String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; 1522 addAnnotation 1523 (anySimpleTypeEDataType, 1524 source, 1525 new String [] 1526 { 1527 "name", "anySimpleType" 1528 }); 1529 addAnnotation 1530 (anyTypeEClass, 1531 source, 1532 new String [] 1533 { 1534 "name", "anyType", 1535 "kind", "mixed" 1536 }); 1537 addAnnotation 1538 (getAnyType_Mixed(), 1539 source, 1540 new String [] 1541 { 1542 "kind", "elementWildcard", 1543 "name", ":mixed" 1544 }); 1545 addAnnotation 1546 (getAnyType_Any(), 1547 source, 1548 new String [] 1549 { 1550 "kind", "elementWildcard", 1551 "wildcards", "##any", 1552 "name", ":1", 1553 "processing", "lax" 1554 }); 1555 addAnnotation 1556 (getAnyType_AnyAttribute(), 1557 source, 1558 new String [] 1559 { 1560 "kind", "attributeWildcard", 1561 "wildcards", "##any", 1562 "name", ":2", 1563 "processing", "lax" 1564 }); 1565 addAnnotation 1566 (anyURIEDataType, 1567 source, 1568 new String [] 1569 { 1570 "name", "anyURI", 1571 "whiteSpace", "collapse" 1572 }); 1573 addAnnotation 1574 (base64BinaryEDataType, 1575 source, 1576 new String [] 1577 { 1578 "name", "base64Binary", 1579 "whiteSpace", "collapse" 1580 }); 1581 addAnnotation 1582 (booleanEDataType, 1583 source, 1584 new String [] 1585 { 1586 "name", "boolean", 1587 "whiteSpace", "collapse" 1588 }); 1589 addAnnotation 1590 (booleanObjectEDataType, 1591 source, 1592 new String [] 1593 { 1594 "name", "boolean:Object", 1595 "baseType", "boolean" 1596 }); 1597 addAnnotation 1598 (byteEDataType, 1599 source, 1600 new String [] 1601 { 1602 "name", "byte" 1603 }); 1604 addAnnotation 1605 (byteObjectEDataType, 1606 source, 1607 new String [] 1608 { 1609 "name", "byte:Object", 1610 "baseType", "byte" 1611 }); 1612 addAnnotation 1613 (dateEDataType, 1614 source, 1615 new String [] 1616 { 1617 "name", "date", 1618 "baseType", "anySimpleType", 1619 "whiteSpace", "collapse" 1620 }); 1621 addAnnotation 1622 (dateTimeEDataType, 1623 source, 1624 new String [] 1625 { 1626 "name", "dateTime", 1627 "baseType", "anySimpleType", 1628 "whiteSpace", "collapse" 1629 }); 1630 addAnnotation 1631 (decimalEDataType, 1632 source, 1633 new String [] 1634 { 1635 "name", "decimal", 1636 "whiteSpace", "collapse" 1637 }); 1638 addAnnotation 1639 (doubleEDataType, 1640 source, 1641 new String [] 1642 { 1643 "name", "double", 1644 "whiteSpace", "collapse" 1645 }); 1646 addAnnotation 1647 (doubleObjectEDataType, 1648 source, 1649 new String [] 1650 { 1651 "name", "double:Object", 1652 "baseType", "double" 1653 }); 1654 addAnnotation 1655 (durationEDataType, 1656 source, 1657 new String [] 1658 { 1659 "name", "duration", 1660 "baseType", "anySimpleType", 1661 "whiteSpace", "collapse" 1662 }); 1663 addAnnotation 1664 (entitiesEDataType, 1665 source, 1666 new String [] 1667 { 1668 "name", "ENTITIES", 1669 "baseType", "ENTITIES_._base", 1670 "minLength", "1" 1671 }); 1672 addAnnotation 1673 (entitiesBaseEDataType, 1674 source, 1675 new String [] 1676 { 1677 "name", "ENTITIES_._base", 1678 "itemType", "ENTITY" 1679 }); 1680 addAnnotation 1681 (entityEDataType, 1682 source, 1683 new String [] 1684 { 1685 "name", "ENTITY", 1686 "baseType", "NCName" 1687 }); 1688 addAnnotation 1689 (floatEDataType, 1690 source, 1691 new String [] 1692 { 1693 "name", "float", 1694 "whiteSpace", "collapse" 1695 }); 1696 addAnnotation 1697 (floatObjectEDataType, 1698 source, 1699 new String [] 1700 { 1701 "name", "float:Object", 1702 "baseType", "float" 1703 }); 1704 addAnnotation 1705 (gDayEDataType, 1706 source, 1707 new String [] 1708 { 1709 "name", "gDay", 1710 "baseType", "anySimpleType", 1711 "whiteSpace", "collapse" 1712 }); 1713 addAnnotation 1714 (gMonthEDataType, 1715 source, 1716 new String [] 1717 { 1718 "name", "gMonth", 1719 "baseType", "anySimpleType", 1720 "whiteSpace", "collapse" 1721 }); 1722 addAnnotation 1723 (gMonthDayEDataType, 1724 source, 1725 new String [] 1726 { 1727 "name", "gMonthDay", 1728 "baseType", "anySimpleType", 1729 "whiteSpace", "collapse" 1730 }); 1731 addAnnotation 1732 (gYearEDataType, 1733 source, 1734 new String [] 1735 { 1736 "name", "gYear", 1737 "baseType", "anySimpleType", 1738 "whiteSpace", "collapse" 1739 }); 1740 addAnnotation 1741 (gYearMonthEDataType, 1742 source, 1743 new String [] 1744 { 1745 "name", "gYearMonth", 1746 "baseType", "anySimpleType", 1747 "whiteSpace", "collapse" 1748 }); 1749 addAnnotation 1750 (hexBinaryEDataType, 1751 source, 1752 new String [] 1753 { 1754 "name", "hexBinary", 1755 "whiteSpace", "collapse" 1756 }); 1757 addAnnotation 1758 (idEDataType, 1759 source, 1760 new String [] 1761 { 1762 "name", "ID", 1763 "baseType", "NCName" 1764 }); 1765 addAnnotation 1766 (idrefEDataType, 1767 source, 1768 new String [] 1769 { 1770 "name", "IDREF", 1771 "baseType", "NCName" 1772 }); 1773 addAnnotation 1774 (idrefsEDataType, 1775 source, 1776 new String [] 1777 { 1778 "name", "IDREFS", 1779 "baseType", "IDREFS_._base", 1780 "minLength", "1" 1781 }); 1782 addAnnotation 1783 (idrefsBaseEDataType, 1784 source, 1785 new String [] 1786 { 1787 "name", "IDREFS_._base", 1788 "itemType", "IDREF" 1789 }); 1790 addAnnotation 1791 (intEDataType, 1792 source, 1793 new String [] 1794 { 1795 "name", "int" 1796 }); 1797 addAnnotation 1798 (integerEDataType, 1799 source, 1800 new String [] 1801 { 1802 "name", "integer" 1803 }); 1804 addAnnotation 1805 (intObjectEDataType, 1806 source, 1807 new String [] 1808 { 1809 "name", "int:Object", 1810 "baseType", "int" 1811 }); 1812 addAnnotation 1813 (languageEDataType, 1814 source, 1815 new String [] 1816 { 1817 "name", "language", 1818 "baseType", "token", 1819 "pattern", "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*" 1820 }); 1821 addAnnotation 1822 (longEDataType, 1823 source, 1824 new String [] 1825 { 1826 "name", "long" 1827 }); 1828 addAnnotation 1829 (longObjectEDataType, 1830 source, 1831 new String [] 1832 { 1833 "name", "long:Object", 1834 "baseType", "long" 1835 }); 1836 addAnnotation 1837 (nameEDataType, 1838 source, 1839 new String [] 1840 { 1841 "name", "Name", 1842 "baseType", "token", 1843 "pattern", "\\i\\c*" 1844 }); 1845 addAnnotation 1846 (ncNameEDataType, 1847 source, 1848 new String [] 1849 { 1850 "name", "NCName", 1851 "baseType", "Name", 1852 "pattern", "[\\i-[:]][\\c-[:]]*" 1853 }); 1854 addAnnotation 1855 (negativeIntegerEDataType, 1856 source, 1857 new String [] 1858 { 1859 "name", "negativeInteger", 1860 "baseType", "nonPositiveInteger", 1861 "maxInclusive", "-1" 1862 }); 1863 addAnnotation 1864 (nmtokenEDataType, 1865 source, 1866 new String [] 1867 { 1868 "name", "NMTOKEN", 1869 "baseType", "token", 1870 "pattern", "\\c+" 1871 }); 1872 addAnnotation 1873 (nmtokensEDataType, 1874 source, 1875 new String [] 1876 { 1877 "name", "NMTOKENS", 1878 "baseType", "NMTOKENS_._base", 1879 "minLength", "1" 1880 }); 1881 addAnnotation 1882 (nmtokensBaseEDataType, 1883 source, 1884 new String [] 1885 { 1886 "name", "NMTOKENS_._base", 1887 "itemType", "NMTOKEN" 1888 }); 1889 addAnnotation 1890 (nonNegativeIntegerEDataType, 1891 source, 1892 new String [] 1893 { 1894 "name", "nonNegativeInteger", 1895 "baseType", "integer", 1896 "minInclusive", "0" 1897 }); 1898 addAnnotation 1899 (nonPositiveIntegerEDataType, 1900 source, 1901 new String [] 1902 { 1903 "name", "nonPositiveInteger", 1904 "baseType", "integer", 1905 "maxInclusive", "0" 1906 }); 1907 addAnnotation 1908 (normalizedStringEDataType, 1909 source, 1910 new String [] 1911 { 1912 "name", "normalizedString", 1913 "baseType", "string", 1914 "whiteSpace", "replace" 1915 }); 1916 addAnnotation 1917 (notationEDataType, 1918 source, 1919 new String [] 1920 { 1921 "name", "NOTATION", 1922 "baseType", "anySimpleType", 1923 "whiteSpace", "collapse" 1924 }); 1925 addAnnotation 1926 (positiveIntegerEDataType, 1927 source, 1928 new String [] 1929 { 1930 "name", "positiveInteger", 1931 "baseType", "nonNegativeInteger", 1932 "minInclusive", "1" 1933 }); 1934 addAnnotation 1935 (qNameEDataType, 1936 source, 1937 new String [] 1938 { 1939 "name", "QName", 1940 "baseType", "anySimpleType", 1941 "whiteSpace", "collapse" 1942 }); 1943 addAnnotation 1944 (shortEDataType, 1945 source, 1946 new String [] 1947 { 1948 "name", "short" 1949 }); 1950 addAnnotation 1951 (shortObjectEDataType, 1952 source, 1953 new String [] 1954 { 1955 "name", "short:Object", 1956 "baseType", "short" 1957 }); 1958 addAnnotation 1959 (simpleAnyTypeEClass, 1960 source, 1961 new String [] 1962 { 1963 "name", "simpleAnyType", 1964 "kind", "simple" 1965 }); 1966 addAnnotation 1967 (getSimpleAnyType_RawValue(), 1968 source, 1969 new String [] 1970 { 1971 "name", ":3", 1972 "kind", "simple" 1973 }); 1974 addAnnotation 1975 (getSimpleAnyType_Value(), 1976 source, 1977 new String [] 1978 { 1979 "name", ":4", 1980 "kind", "simple" 1981 }); 1982 addAnnotation 1983 (getSimpleAnyType_InstanceType(), 1984 source, 1985 new String [] 1986 { 1987 "name", ":5", 1988 "kind", "simple" 1989 }); 1990 addAnnotation 1991 (stringEDataType, 1992 source, 1993 new String [] 1994 { 1995 "name", "string", 1996 "whiteSpace", "preserve" 1997 }); 1998 addAnnotation 1999 (timeEDataType, 2000 source, 2001 new String [] 2002 { 2003 "name", "time", 2004 "baseType", "anySimpleType", 2005 "whiteSpace", "collapse" 2006 }); 2007 addAnnotation 2008 (tokenEDataType, 2009 source, 2010 new String [] 2011 { 2012 "name", "token", 2013 "baseType", "normalizedString", 2014 "whiteSpace", "collapse" 2015 }); 2016 addAnnotation 2017 (unsignedByteEDataType, 2018 source, 2019 new String [] 2020 { 2021 "name", "unsignedByte", 2022 "maxInclusive", "255", 2023 "minInclusive", "0" 2024 }); 2025 addAnnotation 2026 (unsignedByteObjectEDataType, 2027 source, 2028 new String [] 2029 { 2030 "name", "unsignedByte:Object", 2031 "baseType", "unsignedByte" 2032 }); 2033 addAnnotation 2034 (unsignedIntEDataType, 2035 source, 2036 new String [] 2037 { 2038 "name", "unsignedInt", 2039 "maxInclusive", "4294967295", 2040 "minInclusive", "0" 2041 }); 2042 addAnnotation 2043 (unsignedIntObjectEDataType, 2044 source, 2045 new String [] 2046 { 2047 "name", "unsignedInt:Object", 2048 "baseType", "unsignedInt" 2049 }); 2050 addAnnotation 2051 (unsignedLongEDataType, 2052 source, 2053 new String [] 2054 { 2055 "name", "unsignedLong", 2056 "baseType", "nonNegativeInteger", 2057 "maxInclusive", "18446744073709551615", 2058 "minInclusive", "0" 2059 }); 2060 addAnnotation 2061 (unsignedShortEDataType, 2062 source, 2063 new String [] 2064 { 2065 "name", "unsignedShort", 2066 "maxInclusive", "65535", 2067 "minInclusive", "0" 2068 }); 2069 addAnnotation 2070 (unsignedShortObjectEDataType, 2071 source, 2072 new String [] 2073 { 2074 "name", "unsignedShort:Object", 2075 "baseType", "unsignedShort" 2076 }); 2077 addAnnotation 2078 (xmlTypeDocumentRootEClass, 2079 source, 2080 new String [] 2081 { 2082 "name", "", 2083 "kind", "mixed" 2084 }); 2085 addAnnotation 2086 (getXMLTypeDocumentRoot_Mixed(), 2087 source, 2088 new String [] 2089 { 2090 "kind", "elementWildcard", 2091 "name", ":mixed" 2092 }); 2093 addAnnotation 2094 (getXMLTypeDocumentRoot_XMLNSPrefixMap(), 2095 source, 2096 new String [] 2097 { 2098 "kind", "attribute", 2099 "name", "xmlns:prefix" 2100 }); 2101 addAnnotation 2102 (getXMLTypeDocumentRoot_XSISchemaLocation(), 2103 source, 2104 new String [] 2105 { 2106 "kind", "attribute", 2107 "name", "xsi:schemaLocation" 2108 }); 2109 addAnnotation 2110 (getXMLTypeDocumentRoot_CDATA(), 2111 source, 2112 new String [] 2113 { 2114 "kind", "element", 2115 "name", "cDATA", 2116 "namespace", "##targetNamespace" 2117 }); 2118 addAnnotation 2119 (getXMLTypeDocumentRoot_Comment(), 2120 source, 2121 new String [] 2122 { 2123 "kind", "element", 2124 "name", "comment", 2125 "namespace", "##targetNamespace" 2126 }); 2127 addAnnotation 2128 (getXMLTypeDocumentRoot_Text(), 2129 source, 2130 new String [] 2131 { 2132 "kind", "element", 2133 "name", "text", 2134 "namespace", "##targetNamespace" 2135 }); 2136 } 2137 2138 2144 protected void createNullAnnotations() 2145 { 2146 } 2147} | Popular Tags |