|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.mapping.ecore2xml.impl.XMLMapImpl
public class XMLMapImpl
An implementation of the model object 'XML Map'.
The following features are implemented:
| Nested Class Summary | |
|---|---|
protected class |
XMLMapImpl.DelegateXMLMapImpl
|
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
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 |
| Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
| Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
protected |
XMLMapImpl()
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
eNotificationRequired, eNotify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
protected XMLMapImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class EObjectImplpublic java.lang.String getIDAttributeName()
getIDAttributeName in interface XMLResource.XMLMapgetIDAttributeName in interface XMLMapXMLMap.setIDAttributeName(String),
Ecore2XMLPackage.getXMLMap_IDAttributeName()public void setIDAttributeName(java.lang.String newIDAttributeName)
setIDAttributeName in interface XMLResource.XMLMapsetIDAttributeName in interface XMLMapnewIDAttributeName - the new value of the 'ID Attribute Name' attribute.XMLMap.getIDAttributeName()public EMap<ENamedElement,XMLInfo> getEcoreToXMLInfo()
getEcoreToXMLInfo in interface XMLMapEcore2XMLPackage.getXMLMap_EcoreToXMLInfo()public EPackage getNoNamespacePackage()
getNoNamespacePackage in interface XMLResource.XMLMapgetNoNamespacePackage in interface XMLMapXMLMap.setNoNamespacePackage(EPackage),
Ecore2XMLPackage.getXMLMap_NoNamespacePackage()public EPackage basicGetNoNamespacePackage()
public void setNoNamespacePackage(EPackage newNoNamespacePackage)
setNoNamespacePackage in interface XMLResource.XMLMapsetNoNamespacePackage in interface XMLMapnewNoNamespacePackage - 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 InternalEObjecteGet in class BasicEObjectImplInternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class BasicEObjectImplEObject.eSet(EStructuralFeature, Object)public void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class BasicEObjectImplEObject.eUnset(EStructuralFeature)public boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class BasicEObjectImplEObject.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.XMLMappublic java.util.List<EStructuralFeature> getFeatures(EClass eClass)
XMLResource.XMLMap
getFeatures in interface XMLResource.XMLMappublic XMLResource.XMLInfo getInfo(ENamedElement element)
XMLResource.XMLMap
getInfo in interface XMLResource.XMLMap
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||