|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecore.util.BasicExtendedMetaData
org.eclipse.emf.mapping.ecore2xml.util.Ecore2XMLExtendedMetaData
Maps XML elements to Ecore named elements based on registered Ecore2XML mappings.
Nested Class Summary |
Field Summary | |
protected Ecore2XMLRegistry |
ecore2xmlRegistry
|
protected Map |
xmlMaps
|
Fields inherited from class org.eclipse.emf.ecore.util.BasicExtendedMetaData |
annotationMap, annotationURI, demandRegistry, extendedMetaDataHolderCache, registry, UNINITIALIZED_EDATA_TYPE, UNINITIALIZED_ESTRUCTURAL_FEATURE, UNINITIALIZED_INT, UNINITIALIZED_STRING |
Constructor Summary | |
Ecore2XMLExtendedMetaData()
|
|
Ecore2XMLExtendedMetaData(Ecore2XMLRegistry ecore2xmlRegistry)
|
|
Ecore2XMLExtendedMetaData(EPackage.Registry ePackageRegistry,
Ecore2XMLRegistry ecore2xmlRegistry)
|
|
Ecore2XMLExtendedMetaData(String annotationURI,
EPackage.Registry ePackageRegistry,
Ecore2XMLRegistry ecore2xmlRegistry)
|
Method Summary | |
protected EClassifier |
getClassifier(String namespaceURI,
String name)
|
int |
getFeatureKind(EStructuralFeature eStructuralFeature)
Returns the kind of XML structure that should be used to represent the given structural feature. |
protected XMLResource.XMLInfo |
getInfo(ENamedElement element)
|
String |
getName(EClassifier eClassifier)
Returns the XML name for a classifier. |
String |
getName(EStructuralFeature eStructuralFeature)
Returns the XML name for a structural feature. |
String |
getNamespace(EPackage ePackage)
Returns the namespace to use for model instance serializations of the specified package. |
EPackage |
getPackage(String namespace)
Retrieves the package with the specified namespace URI from the package registry associated with this instance. |
EClassifier |
getType(EPackage ePackage,
String name)
Returns the classifier with the given XML name within the given package. |
protected boolean |
isFeatureKindSpecific()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final Ecore2XMLRegistry ecore2xmlRegistry
protected final Map xmlMaps
Constructor Detail |
public Ecore2XMLExtendedMetaData()
public Ecore2XMLExtendedMetaData(Ecore2XMLRegistry ecore2xmlRegistry)
public Ecore2XMLExtendedMetaData(EPackage.Registry ePackageRegistry, Ecore2XMLRegistry ecore2xmlRegistry)
public Ecore2XMLExtendedMetaData(String annotationURI, EPackage.Registry ePackageRegistry, Ecore2XMLRegistry ecore2xmlRegistry)
Method Detail |
protected XMLResource.XMLInfo getInfo(ENamedElement element)
protected EClassifier getClassifier(String namespaceURI, String name)
public EPackage getPackage(String namespace)
ExtendedMetaData
getPackage
in interface ExtendedMetaData
getPackage
in class BasicExtendedMetaData
public String getName(EClassifier eClassifier)
ExtendedMetaData
details key: "name"
getName
in interface ExtendedMetaData
getName
in class BasicExtendedMetaData
public String getName(EStructuralFeature eStructuralFeature)
ExtendedMetaData
details key: "name"
getName
in interface ExtendedMetaData
getName
in class BasicExtendedMetaData
public String getNamespace(EPackage ePackage)
ExtendedMetaData
details key: "namespace"
getNamespace
in interface ExtendedMetaData
getNamespace
in class BasicExtendedMetaData
public EClassifier getType(EPackage ePackage, String name)
ExtendedMetaData
getType
in interface ExtendedMetaData
getType
in class BasicExtendedMetaData
public int getFeatureKind(EStructuralFeature eStructuralFeature)
ExtendedMetaData
details key: "kind"
getFeatureKind
in interface ExtendedMetaData
getFeatureKind
in class BasicExtendedMetaData
protected boolean isFeatureKindSpecific()
isFeatureKindSpecific
in class BasicExtendedMetaData
|
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 |