SYNOPSIS

        my $r = $h->ListSets();

        while( my $rec = $r->next ) {
                print $rec->setSpec, "\n";
        }

        die $r->message if $r->is_error;

METHODS

This constructor method returns a new OAI::ListSets object. Returns either an HTTP::OAI::Set object, or undef, if no more records are available. Use $set->is_error to test whether there was an error getting the next record. If -resume was set to false in the Harvest Agent, next may return a string (the resumptionToken). Returns the set list and optionally adds a new set or resumptionToken, $set. Returns an array ref of HTTP::OAI::Sets, with an optional resumptionToken string. Returns and optionally sets the HTTP::OAI::ResumptionToken. Returns a \s-1XML::DOM\s0 object representing the ListSets response.