예제 #1
0
  /**
   * 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();
  }