1HTTP::OAI::GetRecord(3pUms)er Contributed Perl DocumentatHiToTnP::OAI::GetRecord(3pm)
2
3
4
6 HTTP::OAI::GetRecord - An OAI GetRecord response
7
9 HTTP::OAI::GetRecord is derived from HTTP::OAI::Response and provides
10 access to the data contained in an OAI GetRecord response in addition
11 to the header information provided by OAI::Response.
12
14 use HTTP::OAI::GetRecord();
15
16 $res = new HTTP::OAI::GetRecord();
17 $res->record($rec);
18
20 $gr = new HTTP::OAI::GetRecord
21 This constructor method returns a new HTTP::OAI::GetRecord object.
22
23 $rec = $gr->next
24 Returns the next record stored in the response, or undef if no more
25 record are available. The record is returned as an OAI::Record.
26
27 @recs = $gr->record([$rec])
28 Returns the record list, and optionally adds a record to the end of
29 the queue. GetRecord will only store one record at a time, so this
30 method will replace any existing record if called with argument(s).
31
32 $dom = $gr->toDOM()
33 Returns an XML::DOM object representing the GetRecord response.
34
35
36
37perl v5.34.0 2022-01-21 HTTP::OAI::GetRecord(3pm)