/** * Returns an IdentifyType object containing information about the OAI respository. * * @return A IdentifyType object. * @throws Exception */ @SuppressWarnings("unchecked") public IdentifyType identify() throws Exception { String url = baseUrl + "?verb=Identify"; OAIPMH oaipmh = oaipmhRequest(url); handleOaiErrors(oaipmh); return oaipmh.getIdentify(); }