public static interface XMLResource.ElementHandler
getRoot
method is used to determine an appropriate feature to serialize a value of the given type.
The getSubstitutionGroup
method
is used to determine a feature
related by substitution group affiliation
to the given feature
for serializing a value of the given type.Modifier and Type | Method and Description |
---|---|
EStructuralFeature |
getRoot(ExtendedMetaData extendedMetaData,
EClassifier eClassifier)
Returns an appropriate feature for serializing a value of the give type.
|
EStructuralFeature |
getSubstitutionGroup(ExtendedMetaData extendedMetaData,
EStructuralFeature eStructuralFeature,
EClassifier eClassifier)
Returns an feature, related by
substitution group affiliation to the given feature,
for serializing a value of the give type. |
EStructuralFeature getRoot(ExtendedMetaData extendedMetaData, EClassifier eClassifier)
extendedMetaData
- the extended meta data in which to look up type information.eClassifier
- the type of value to serialize.null
.EStructuralFeature getSubstitutionGroup(ExtendedMetaData extendedMetaData, EStructuralFeature eStructuralFeature, EClassifier eClassifier)
substitution group affiliation
to the given feature,
for serializing a value of the give type.extendedMetaData
- the extended meta data in which to look up type information.eStructuralFeature
- the feature that will be used if this method returns null.eClassifier
- the type of value to serialize.null
.