|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface XMLResource.ElementHandler
An interface for an element handle that is used to deduce an appropriate feature when serializing a value of a specific type.
The 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.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
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 | |||||||||