Net::OAI::Record::Header - class for record header representation
Actually this class implements the filtering SAX parser for the complete record OAI-PMH element. The contents of the header child are collected into a header object and can be accessed by the methods documented here.
record
header
Events will be traditionally forwarded only from the subelement(s) of the metadata child which makes it difficult to access data contained in the (possibly multiple) about containers which may follow the metadata in the record.
metadata
about
Beginning from OAI-Harvester v1.17 a new "recordHandler" argument may be given to the harvester functions getRecord() and listRecords(): In contrast to a "metadataHandler" argument this will pass the "fwdAll" argument to the constructor of this Header class and result in forwarding all events in the record (including record itself) to the handler specified, not only those from metadata children.
getRecord()
listRecords()
The SAX filter implemented by this class purposefully does not generate any start_document() or end_document() events.
To install Net::OAI::Base, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::OAI::Base
CPAN shell
perl -MCPAN -e shell install Net::OAI::Base
For more information on module installation, please visit the detailed CPAN module installation guide.