HTTP::OAI::ListMetadataFormats(3pm)

HTTP::OAI::ListMetadataFormats3pm

Provide access to an oai listmetadataformats response

Usage

        my $r = $h->ListMetadataFormats;
        # ListMetadataFormats doesn't use flow control
        while( my $rec = $r->next ) {
                print $rec->metadataPrefix, "\n";
        }
        die $r->message if $r->is_error;

Methods

$lmdf = new HTTP::OAI::ListMetadataFormats

This constructor method returns a new HTTP::OAI::ListMetadataFormats object.

$mdf = $lmdf->next

Returns either an HTTP::OAI::MetadataFormat object, or undef, if no more records are available.

@mdfl = $lmdf->metadataFormat([$mdf])

Returns the metadataFormat list and optionally adds a new metadataFormat, $mdf. Returns an array ref of HTTP::OAI::MetadataFormats.

$dom = $lmdf->toDOM

Returns a XML::DOM object representing the ListMetadataFormats response.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7–8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

From libhttp-oai-perl 4.13-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.