public GeocoderResponse parse(InputStream inputStream) throws IOException {
        YaGeocoderHandler handler = new YaGeocoderHandler();
        try {
            parser.parse(inputStream, handler);
        } catch (Exception e) {
            throw new IOException("Failed to parse geocoder result: " + e.toString(), e);
        }
        return handler.getResult();
    }