line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package XML::SRS::Server::Filter::List; |
3
|
|
|
|
|
|
|
BEGIN { |
4
|
1
|
|
|
1
|
|
1949
|
$XML::SRS::Server::Filter::List::VERSION = '0.09'; |
5
|
|
|
|
|
|
|
} |
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
399
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
use PRANG::Graph; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
use XML::SRS::Server::Filter; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
use Moose::Util::TypeConstraints; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
has_element 'server_filter' => |
15
|
|
|
|
|
|
|
is => 'ro', |
16
|
|
|
|
|
|
|
isa => 'ArrayRef[XML::SRS::Server::Filter]', |
17
|
|
|
|
|
|
|
xml_nodeName => 'ServerFilter', |
18
|
|
|
|
|
|
|
coerce => 0, |
19
|
|
|
|
|
|
|
required => 1, |
20
|
|
|
|
|
|
|
; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
coerce __PACKAGE__ |
23
|
|
|
|
|
|
|
=> from 'ArrayRef' |
24
|
|
|
|
|
|
|
=> via { |
25
|
|
|
|
|
|
|
__PACKAGE__->new( |
26
|
|
|
|
|
|
|
server_filter => [map { XML::SRS::Server::Filter->new($_) } @{$_[0]}], |
27
|
|
|
|
|
|
|
); |
28
|
|
|
|
|
|
|
}; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
with 'XML::SRS::Node'; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |