code: @SuppressWarnings("rawtypes")
      public <T extends ODataEntity> T unmarshalEntry(InputStream stream,
              Class<T> contentType) throws JAXBException, ServiceException {
          validateNotNull(stream, "stream");
          validateNotNull(contentType, "contentType");
  
          Class<?> marshallingContentType = getMarshallingContentType(contentType);
  
          EntryType entry = unmarshalEntry(stream);
          return contentFromEntry(contentType, marshallingContentType, entry);
      }
docs: Given a stream containing XML with an Atom entry element at the root,
  unmarshal it into an instance of contentType
  
  @param stream
  - stream containing XML data
  @param contentType
  - type of object to return
  @return An instance of contentType
  @throws JAXBException
  @throws ServiceException