public class XMLMapImpl extends EObjectImpl implements XMLMap
The following features are implemented:
Modifier and Type | Class and Description |
---|---|
protected class |
XMLMapImpl.DelegateXMLMapImpl |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.EStore
Modifier and Type | Field and Description |
---|---|
protected XMLResource.XMLMap |
delegateXMLMap |
protected EMap<ENamedElement,XMLInfo> |
ecoreToXMLInfo
The cached value of the '
Ecore To XML Info ' map |
protected static java.lang.String |
ID_ATTRIBUTE_NAME_EDEFAULT
The default value of the '
ID Attribute Name ' attribute |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
EOPPOSITE_FEATURE_BASE
Modifier | Constructor and Description |
---|---|
protected |
XMLMapImpl() |
Modifier and Type | Method and Description |
---|---|
void |
add(ENamedElement element,
XMLResource.XMLInfo info)
Add an XMLInfo object for an Ecore construct to
the map.
|
EPackage |
basicGetNoNamespacePackage() |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
EClassifier |
getClassifier(java.lang.String namespaceURI,
java.lang.String name)
Returns the EClassifier with the given namespace URI and
name.
|
EMap<ENamedElement,XMLInfo> |
getEcoreToXMLInfo() |
EStructuralFeature |
getFeature(EClass eClass,
java.lang.String namespaceURI,
java.lang.String name)
Returns the feature for the given class with the given
namespace URI and name.
|
java.util.List<EStructuralFeature> |
getFeatures(EClass eClass)
Returns the list of features for the given class in the order in which they should be saved.
|
java.lang.String |
getIDAttributeName() |
XMLResource.XMLInfo |
getInfo(ENamedElement element)
Returns the XMLInfo object for the given Ecore
construct, if there is one.
|
EPackage |
getNoNamespacePackage() |
void |
setIDAttributeName(java.lang.String newIDAttributeName) |
void |
setNoNamespacePackage(EPackage newNoNamespacePackage) |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
eNotificationRequired
protected static final java.lang.String ID_ATTRIBUTE_NAME_EDEFAULT
ID Attribute Name
' attribute.
getIDAttributeName()
protected EMap<ENamedElement,XMLInfo> ecoreToXMLInfo
Ecore To XML Info
' map.
getEcoreToXMLInfo()
protected XMLResource.XMLMap delegateXMLMap
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
public java.lang.String getIDAttributeName()
getIDAttributeName
in interface XMLResource.XMLMap
getIDAttributeName
in interface XMLMap
XMLMap.setIDAttributeName(String)
,
Ecore2XMLPackage.getXMLMap_IDAttributeName()
public void setIDAttributeName(java.lang.String newIDAttributeName)
setIDAttributeName
in interface XMLResource.XMLMap
setIDAttributeName
in interface XMLMap
newIDAttributeName
- the new value of the 'ID Attribute Name' attribute.XMLMap.getIDAttributeName()
public EMap<ENamedElement,XMLInfo> getEcoreToXMLInfo()
getEcoreToXMLInfo
in interface XMLMap
Ecore2XMLPackage.getXMLMap_EcoreToXMLInfo()
public EPackage getNoNamespacePackage()
getNoNamespacePackage
in interface XMLResource.XMLMap
getNoNamespacePackage
in interface XMLMap
XMLMap.setNoNamespacePackage(EPackage)
,
Ecore2XMLPackage.getXMLMap_NoNamespacePackage()
public EPackage basicGetNoNamespacePackage()
public void setNoNamespacePackage(EPackage newNoNamespacePackage)
setNoNamespacePackage
in interface XMLResource.XMLMap
setNoNamespacePackage
in interface XMLMap
newNoNamespacePackage
- the new value of the 'No Namespace Package' reference.XMLMap.getNoNamespacePackage()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class BasicEObjectImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class BasicEObjectImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class BasicEObjectImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class BasicEObjectImpl
EObject.eIsSet(EStructuralFeature)
public void add(ENamedElement element, XMLResource.XMLInfo info)
XMLResource.XMLMap
add
in interface XMLResource.XMLMap
public EClassifier getClassifier(java.lang.String namespaceURI, java.lang.String name)
XMLResource.XMLMap
getClassifier
in interface XMLResource.XMLMap
public EStructuralFeature getFeature(EClass eClass, java.lang.String namespaceURI, java.lang.String name)
XMLResource.XMLMap
getFeature
in interface XMLResource.XMLMap
public java.util.List<EStructuralFeature> getFeatures(EClass eClass)
XMLResource.XMLMap
getFeatures
in interface XMLResource.XMLMap
public XMLResource.XMLInfo getInfo(ENamedElement element)
XMLResource.XMLMap
getInfo
in interface XMLResource.XMLMap