logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

HTTP::OAI::ListMetadataFormats - Provide access to an OAI ListMetadataFormats response

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.

perl v5.36.0                                       2023-09-28                HTTP::OAI::ListMetadataFormats(3pm)

Name

       HTTP::OAI::ListMetadataFormats - Provide access to an OAI ListMetadataFormats response

Synopsis

               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;

See Also