private void getProperties(String currentNode, String value) throws ParseException, SAXException {

    if (currentNode.equals(Constants.LAST_MODIFIED_ELEMENT)) {
      this.attributes
          .getProperties()
          .setLastModified(Utility.parseRFC1123DateFromStringInGMT(value));
    } else if (currentNode.equals(Constants.ETAG_ELEMENT)) {
      this.attributes.getProperties().setEtag(Utility.formatETag(value));
    } else if (currentNode.equals(Constants.LEASE_STATUS_ELEMENT)) {
      final LeaseStatus tempStatus = LeaseStatus.parse(value);
      if (!tempStatus.equals(LeaseStatus.UNSPECIFIED)) {
        this.attributes.getProperties().setLeaseStatus(tempStatus);
      } else {
        throw new SAXException(SR.INVALID_RESPONSE_RECEIVED);
      }
    } else if (currentNode.equals(Constants.LEASE_STATE_ELEMENT)) {
      final LeaseState tempState = LeaseState.parse(value);
      if (!tempState.equals(LeaseState.UNSPECIFIED)) {
        this.attributes.getProperties().setLeaseState(tempState);
      } else {
        throw new SAXException(SR.INVALID_RESPONSE_RECEIVED);
      }
    } else if (currentNode.equals(Constants.LEASE_DURATION_ELEMENT)) {
      final LeaseDuration tempDuration = LeaseDuration.parse(value);
      if (!tempDuration.equals(LeaseDuration.UNSPECIFIED)) {
        this.attributes.getProperties().setLeaseDuration(tempDuration);
      } else {
        throw new SAXException(SR.INVALID_RESPONSE_RECEIVED);
      }
    }
  }