@SuppressWarnings("rawtypes")
private <T extends ODataEntity> T contentFromEntry(Class<T> contentType,
Class<?> marshallingContentType, EntryType entry)
throws JAXBException, ServiceException {
unmarshalODataContent(entry, contentType);
ContentType contentElement = getFirstOfType(ContentType.class,
entry.getEntryChildren());
Object contentObject = getFirstOfType(marshallingContentType,
contentElement.getContent());
return constructResultObject(contentType, entry, contentObject);
}