edu.ucsb.nceas.metacat.oaipmh.harvester

## Class ListSets

- java.lang.Object
- - edu.ucsb.nceas.metacat.oaipmh.harvester.HarvesterVerb
  - - edu.ucsb.nceas.metacat.oaipmh.harvester.ListSets

-     public class ListSets
      extends HarvesterVerb

  This class represents an ListSets response on either the server or on the client
  Author:
    Jeffrey A. Young, OCLC Online Computer Library Center

- - ### Field Summary

    - ### Fields inherited from class edu.ucsb.nceas.metacat.oaipmh.harvester.HarvesterVerb

      `SCHEMA_LOCATION_V2_0`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ListSets()` Mock object constructor (for unit testing purposes)
    `ListSets(java.lang.String baseURL)` Client-side ListSets verb constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getResumptionToken()` Get the oai:resumptionToken from the response

    - ### Methods inherited from class edu.ucsb.nceas.metacat.oaipmh.harvester.HarvesterVerb

      `getDocument, getErrors, getNodeList, getRequestURL, getSchemaLocation, getSingleString, runVerb, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ListSets

          public ListSets()

      Mock object constructor (for unit testing purposes)

    - #### ListSets

          public ListSets(java.lang.String baseURL)
                   throws java.io.IOException,
                          javax.xml.parsers.ParserConfigurationException,
                          org.xml.sax.SAXException,
                          javax.xml.transform.TransformerException

      Client-side ListSets verb constructor
      Parameters:
        `baseURL` - the baseURL of the server to be queried
      Throws:
        `MalformedURLException` - the baseURL is bad
        `java.io.IOException` - an I/O error occurred
        `javax.xml.parsers.ParserConfigurationException`
        `org.xml.sax.SAXException`
        `javax.xml.transform.TransformerException`

  - ### Method Detail

    - #### getResumptionToken

          public java.lang.String getResumptionToken()
                                              throws javax.xml.transform.TransformerException,
                                                     java.lang.NoSuchFieldException

      Get the oai:resumptionToken from the response
      Returns:
        the oai:resumptionToken as a String
      Throws:
        `javax.xml.transform.TransformerException`
        `java.lang.NoSuchFieldException`

Copyright © 2020 Regents of the University of California. All Rights Reserved.