| HTTP::OAI::GetRecord - An OAI GetRecord response |
HTTP::OAI::GetRecord - An OAI GetRecord response
HTTP::OAI::GetRecord is derived from HTTP::OAI::Response and provides access to the data contained in an OAI GetRecord response in addition to the header information provided by OAI::Response.
use HTTP::OAI::GetRecord();
$res = new HTTP::OAI::GetRecord();
$res->record($rec);
This constructor method returns a new HTTP::OAI::GetRecord object.
Returns the next record stored in the response, or undef if no more record are available. The record is returned as an OAI::Record.
record([$rec])
Returns the record list, and optionally adds a record to the end of the queue. GetRecord will only store one record at a time, so this method will replace any existing record if called with argument(s).
toDOM()
Returns an XML::DOM object representing the GetRecord response.
| HTTP::OAI::GetRecord - An OAI GetRecord response |