1HTTP::OAI::ListMetadataUFsoerrmaCtosn(t3rpimb)uted PerlHDToTcPu:m:eOnAtIa:t:iLoinstMetadataFormats(3pm)
2
3
4
6 HTTP::OAI::ListMetadataFormats - Provide access to an OAI
7 ListMetadataFormats response
8
10 my $r = $h->ListMetadataFormats;
11
12 # ListMetadataFormats doesn't use flow control
13 while( my $rec = $r->next ) {
14 print $rec->metadataPrefix, "\n";
15 }
16
17 die $r->message if $r->is_error;
18
20 $lmdf = new HTTP::OAI::ListMetadataFormats
21 This constructor method returns a new
22 HTTP::OAI::ListMetadataFormats object.
23
24 $mdf = $lmdf->next
25 Returns either an HTTP::OAI::MetadataFormat object, or undef, if no
26 more records are available.
27
28 @mdfl = $lmdf->metadataFormat([$mdf])
29 Returns the metadataFormat list and optionally adds a new
30 metadataFormat, $mdf. Returns an array ref of
31 HTTP::OAI::MetadataFormats.
32
33 $dom = $lmdf->toDOM
34 Returns a XML::DOM object representing the ListMetadataFormats
35 response.
36
37
38
39perl v5.34.0 2022-01-21HTTP::OAI::ListMetadataFormats(3pm)