public class BasicMigrationExtendedMetaData extends ExtendedBasicExtendedMetaData
XML resource
s which have been created with older but still compatible versions of a
metamodel to be loaded with the most recent version of that metamodel. Relies on the descriptor
of the metamodel in question to find out with XML resources can be deemed compatible and which not.org.eclipse.emf.ecore.util.BasicExtendedMetaData.EClassExtendedMetaDataImpl, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EClassifierExtendedMetaData, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EDataTypeExtendedMetaDataImpl, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EPackageExtendedMetaData, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EPackageExtendedMetaDataImpl, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EStructuralFeatureExtendedMetaData, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EStructuralFeatureExtendedMetaDataImpl
eStructuralFeature2OrderedMap, INSTANCE
annotationMap, annotationURI, demandRegistry, extendedMetaDataHolderCache, registry, UNINITIALIZED_EDATA_TYPE, UNINITIALIZED_ESTRUCTURAL_FEATURE, UNINITIALIZED_INT, UNINITIALIZED_STRING
ANNOTATION_URI, ATTRIBUTE_FEATURE, ATTRIBUTE_WILDCARD_FEATURE, COLLAPSE_WHITE_SPACE, CONTENT_KINDS, DERIVATION_KINDS, ELEMENT_FEATURE, ELEMENT_ONLY_CONTENT, ELEMENT_WILDCARD_FEATURE, EMPTY_CONTENT, FEATURE_KINDS, GROUP_FEATURE, LAX_PROCESSING, LIST_DERIVATION, MIXED_CONTENT, PRESERVE_WHITE_SPACE, PROCESSING_KINDS, REPLACE_WHITE_SPACE, RESTRICTION_DERIVATION, SIMPLE_CONTENT, SIMPLE_FEATURE, SKIP_PROCESSING, STRICT_PROCESSING, UNION_DERIVATION, UNSPECIFIED_CONTENT, UNSPECIFIED_DERIVATION, UNSPECIFIED_FEATURE, UNSPECIFIED_PROCESSING, UNSPECIFIED_WHITE_SPACE, WHITE_SPACE_KINDS, XMI_URI, XML_SCHEMA_URI, XML_URI, XMLNS_PREFIX, XMLNS_URI, XSI_PREFIX, XSI_URI
Constructor and Description |
---|
BasicMigrationExtendedMetaData() |
BasicMigrationExtendedMetaData(org.eclipse.emf.ecore.EPackage.Registry registry) |
BasicMigrationExtendedMetaData(java.lang.String annotationURI,
org.eclipse.emf.ecore.EPackage.Registry registry) |
BasicMigrationExtendedMetaData(java.lang.String annotationURI,
org.eclipse.emf.ecore.EPackage.Registry registry,
java.util.Map<org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EAnnotation> annotationMap) |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.emf.ecore.EStructuralFeature |
getLocalElement(org.eclipse.emf.ecore.EClass eClass,
java.lang.String namespace,
java.lang.String name)
Does the same as the super implementation but maps given XML element to corresponding
feature of given EClass if underlying namespaces are compatible instead of doing so only when they are
equal. |
protected boolean |
isSameOrCompatibleNamespace(java.lang.String xmlNamespace,
java.lang.String featureNamespace)
Tests if given XML namespace is equal to or compatible with the given
feature
namespace. |
basicIsOrdered, isOrdered, setOrdered
basicGetAffiliation, basicGetBaseType, basicGetContentKind, basicGetDerivationKind, basicGetEnumerationFacet, basicGetFeatureKind, basicGetFractionDigitsFacet, basicGetGroup, basicGetItemType, basicGetLengthFacet, basicGetMaxExclusiveFacet, basicGetMaxInclusiveFacet, basicGetMaxLengthFacet, basicGetMemberTypes, basicGetMinExclusiveFacet, basicGetMinInclusiveFacet, basicGetMinLengthFacet, basicGetName, basicGetName, basicGetNamespace, basicGetPatternFacet, basicGetProcessingKind, basicGetTotalDigitsFacet, basicGetWhiteSpaceFacet, basicGetWildcards, basicIsQualified, computePrefix, createEClassifierExtendedMetaData, createEPackageExtendedMetaData, createEStructuralFeatureExtendedMetaData, demandedPackages, demandFeature, demandFeature, demandPackage, demandType, getAffiliation, getAffiliation, getAllAttributes, getAllElements, getAnnotation, getAttribute, getAttribute, getAttributes, getAttributeWildcardAffiliation, getBaseType, getContentKind, getDerivationKind, getDocumentRoot, getElement, getElement, getElements, getElementWildcardAffiliation, getEncodedWildcards, getEnumerationFacet, getExtendedMetaData, getExtendedMetaData, getExtendedMetaData, getFeatureKind, getFractionDigitsFacet, getGroup, getItemType, getLengthFacet, getLocalAttribute, getMaxExclusiveFacet, getMaxInclusiveFacet, getMaxLengthFacet, getMemberTypes, getMinExclusiveFacet, getMinInclusiveFacet, getMinLengthFacet, getMixedFeature, getName, getName, getNamespace, getNamespace, getNamespace, getPackage, getPatternFacet, getProcessingKind, getQualifiedName, getQualifiedName, getSimpleFeature, getTotalDigitsFacet, getType, getType, getWhiteSpaceFacet, getWildcards, getXMLNSPrefixMapFeature, getXSISchemaLocationMapFeature, isAnonymous, isDocumentRoot, isFeatureKindSpecific, isFeatureNamespaceMatchingLax, isQualified, matches, matches, putPackage, setAffiliation, setBaseType, setContentKind, setDocumentRoot, setEnumerationFacet, setFeatureKind, setFractionDigitsFacet, setGroup, setItemType, setLengthFacet, setMaxExclusiveFacet, setMaxInclusiveFacet, setMaxLengthFacet, setMemberTypes, setMinExclusiveFacet, setMinInclusiveFacet, setMinLengthFacet, setName, setName, setNamespace, setPatternFacet, setProcessingKind, setQualified, setTotalDigitsFacet, setWhiteSpaceFacet, setWildcards
public BasicMigrationExtendedMetaData()
public BasicMigrationExtendedMetaData(org.eclipse.emf.ecore.EPackage.Registry registry)
public BasicMigrationExtendedMetaData(java.lang.String annotationURI, org.eclipse.emf.ecore.EPackage.Registry registry, java.util.Map<org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EAnnotation> annotationMap)
public BasicMigrationExtendedMetaData(java.lang.String annotationURI, org.eclipse.emf.ecore.EPackage.Registry registry)
protected org.eclipse.emf.ecore.EStructuralFeature getLocalElement(org.eclipse.emf.ecore.EClass eClass, java.lang.String namespace, java.lang.String name)
feature
of given EClass
if underlying namespaces are compatible instead of doing so only when they are
equal.getLocalElement
in class org.eclipse.emf.ecore.util.BasicExtendedMetaData
BasicExtendedMetaData.getLocalElement(org.eclipse.emf.ecore.EClass,
java.lang.String, java.lang.String)
protected boolean isSameOrCompatibleNamespace(java.lang.String xmlNamespace, java.lang.String featureNamespace)
feature
namespace.xmlNamespace
- The XML element namespace to be investigated.featureNamespace
- The feature
namespace to be used as reference.true
if given XML namespace and feature
namespace are equal or
compatible, or false
otherwise.