/**
  * Gets the Sequence corresponding to the specified substitutable Property
of the specified DataObject.
  * @param dataObject Not null, otherwise NullPointerException.
  * @param head A substitution group head property.
  * @return The Sequence corresponding to the specified substitutable
Property of the specified DataObject,
  *         null if the specified Property isn't a substitution head.
  * @deprecated To be moved into XMLHelper
  */
 public static Sequence getSubstitutionValues(DataObject dataObject,
Property head)
 {
     final EStructuralFeature  group = ExtendedMetaData.INSTANCE.getGroup(
(EStructuralFeature)head);
     return null == group
          ? null
          : (Sequence)((EObject)dataObject).eGet( group);  //
dataObject.getSequence(group.getFeatureID()) may not be able to access
hidden properties
 }


--

Yang ZHONG

Reply via email to