line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTTP::OAI::ListRecords; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
@ISA = qw( HTTP::OAI::PartialList ); |
4
|
|
|
|
|
|
|
|
5
|
11
|
|
|
11
|
|
71
|
use strict; |
|
11
|
|
|
|
|
22
|
|
|
11
|
|
|
|
|
2316
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '4.13'; |
8
|
|
|
|
|
|
|
|
9
|
0
|
|
|
0
|
1
|
0
|
sub record { shift->item(@_) } |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub start_element |
12
|
|
|
|
|
|
|
{ |
13
|
204
|
|
|
204
|
1
|
1609
|
my ($self,$hash, $r) = @_; |
14
|
|
|
|
|
|
|
|
15
|
204
|
100
|
66
|
|
|
500
|
if( $hash->{Depth} == 3 && $hash->{LocalName} eq "record" ) |
16
|
|
|
|
|
|
|
{ |
17
|
10
|
|
|
|
|
57
|
$self->set_handler(HTTP::OAI::Record->new); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
204
|
|
|
|
|
618
|
$self->SUPER::start_element($hash, $r); |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub end_element |
24
|
|
|
|
|
|
|
{ |
25
|
204
|
|
|
204
|
1
|
1447
|
my ($self,$hash, $r) = @_; |
26
|
|
|
|
|
|
|
|
27
|
204
|
|
|
|
|
576
|
$self->SUPER::end_element($hash, $r); |
28
|
|
|
|
|
|
|
|
29
|
204
|
100
|
66
|
|
|
573
|
if( $hash->{Depth} == 3 && $hash->{LocalName} eq "record" ) |
30
|
|
|
|
|
|
|
{ |
31
|
10
|
|
|
|
|
57
|
HTTP::OAI::Debug::trace( "record: " . $self->get_handler->identifier ); |
32
|
10
|
|
|
|
|
45
|
$r->callback( $self->get_handler, $self ); |
33
|
10
|
|
|
|
|
31
|
$self->set_handler( undef ); |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
__END__ |