| HTTP::OAI::Header - Encapsulates an OAI header structure |
HTTP::OAI::Header - Encapsulates an OAI header structure
use HTTP::OAI::Header;
my $h = new HTTP::OAI::Header(
identifier=>'oai:myarchive.org:2233-add',
datestamp=>'2002-04-12T20:31:00Z',
);
$h->setSpec('all:novels');
This constructor method returns a new HTTP::OAI::Header object.
identifier([$identifier])
Get and optionally set the record OAI identifier.
datestamp([$datestamp])
Get and optionally set the record datestamp (OAI 2.0+).
status([$status])
Get and optionally set the record status (valid values are 'deleted' or undef).
is_deleted()
Returns whether this record's status is deleted.
setSpec([$setSpec])
Returns the list of setSpecs and optionally appends a new setSpec $setSpec (OAI 2.0+).
generate()
Act as a SAX driver (use $h-set_handler()> to specify the filter to pass events to).
| HTTP::OAI::Header - Encapsulates an OAI header structure |