code: public Object atomUnmarshall(String oDataEntityXml, String fullResponse, ODataClientQuery query)
              throws UnsupportedEncodingException, ODataClientException {
          Object unmarshalledEntity;
          // build a dummy request context which contains the Xml
          ODataRequest request = buildODataRequestFromString(oDataEntityXml, query);
          ODataRequestContext requestContext =
                  new ODataRequestContext(request, createODataUri(url, query.getEdmEntityName()), entityDataModel);
  
          // unmarshall the OData request context into an entity
          try {
              unmarshalledEntity = getODataAtomParser(requestContext).getODataEntity();
          } catch (ODataException | RuntimeException e) {
              throw new ODataClientParserException(
                      format("Caught exception {0}: {1} when parsing response received from OData service",
                              e.getClass().getSimpleName(), e.getMessage()),
                      e, oDataEntityXml, fullResponse);
          }
          return unmarshalledEntity;
      }
docs: Unmarshalls an Atom XML form of on OData entity into the actual entity (DTO) object.
  
  @param oDataEntityXml the Atom XML form of on OData entity
  @return an entity (DTO) object
  @throws java.io.UnsupportedEncodingException
  @throws ODataClientException