if (xmlBinaryDataCollectionMapping.getValueConverter() != null) {
Converter converter = xmlBinaryDataCollectionMapping.getValueConverter();
if (converter instanceof XMLConverter) {
objectValue = ((XMLConverter) converter).convertObjectValueToDataValue(objectValue, session, marshaller);
} else {
objectValue = converter.convertObjectValueToDataValue(objectValue, session);
}
}
XPathFragment groupingFragment = marshalRecord.openStartGroupingElements(namespaceResolver);
marshalRecord.closeStartGroupingElements(groupingFragment);
marshalRecord.openStartElement(xPathFragment, namespaceResolver);