line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Catmandu::AlephX::Op::IllGetDocShort; |
2
|
1
|
|
|
1
|
|
117738
|
use Catmandu::Sane; |
|
1
|
|
|
|
|
223627
|
|
|
1
|
|
|
|
|
22
|
|
3
|
1
|
|
|
1
|
|
395
|
use Catmandu::Util qw(:check :is); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
512
|
|
4
|
1
|
|
|
1
|
|
10
|
use Moo; |
|
1
|
|
|
|
|
13
|
|
|
1
|
|
|
|
|
9
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = "1.073"; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
with('Catmandu::AlephX::Response'); |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
has z13 => ( |
11
|
|
|
|
|
|
|
is => 'ro', |
12
|
|
|
|
|
|
|
lazy => 1, |
13
|
|
|
|
|
|
|
isa => sub{ |
14
|
|
|
|
|
|
|
check_hash_ref($_[0]); |
15
|
|
|
|
|
|
|
}, |
16
|
|
|
|
|
|
|
default => sub { {}; } |
17
|
|
|
|
|
|
|
); |
18
|
0
|
|
|
0
|
0
|
|
sub op { 'ill-get-doc-short' } |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub parse { |
21
|
0
|
|
|
0
|
0
|
|
my($class,$str_ref) = @_; |
22
|
0
|
|
|
|
|
|
my $xpath = xpath($str_ref); |
23
|
|
|
|
|
|
|
|
24
|
0
|
|
|
|
|
|
my $op = op(); |
25
|
|
|
|
|
|
|
|
26
|
0
|
|
|
|
|
|
my $z13 = {}; |
27
|
|
|
|
|
|
|
|
28
|
0
|
|
|
|
|
|
my($z) = $xpath->find("/$op/z13")->get_nodelist(); |
29
|
|
|
|
|
|
|
|
30
|
0
|
0
|
|
|
|
|
$z13 = get_children($z) if $z; |
31
|
|
|
|
|
|
|
|
32
|
0
|
|
|
|
|
|
__PACKAGE__->new( |
33
|
|
|
|
|
|
|
session_id => $xpath->findvalue("/$op/session-id"), |
34
|
|
|
|
|
|
|
errors => $class->parse_errors($xpath), |
35
|
|
|
|
|
|
|
z13 => $z13, |
36
|
|
|
|
|
|
|
content_ref => $str_ref |
37
|
|
|
|
|
|
|
); |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
1; |