line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# -*- Mode: Perl; indent-tabs-mode: nil; -*- |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Servlet::ServletContextAttributeEvent; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
17486
|
use base qw(Servlet::ServletContextEvent); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
2114
|
|
6
|
1
|
|
|
1
|
|
5
|
use fields qw(name value); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
7
|
1
|
|
|
1
|
|
59
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
25
|
|
8
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
346
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub new { |
11
|
1
|
|
|
1
|
1
|
2
|
my $self = shift; |
12
|
1
|
|
|
|
|
1
|
my $source = shift; |
13
|
1
|
|
|
|
|
3
|
my $name = shift; |
14
|
1
|
|
|
|
|
1
|
my $value = shift; |
15
|
|
|
|
|
|
|
|
16
|
1
|
50
|
|
|
|
5
|
$self = fields::new($self) unless ref $self; |
17
|
1
|
|
|
|
|
74
|
$self->SUPER::new($source); |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
|
|
2
|
$self->{name} = $name; |
20
|
1
|
|
|
|
|
2
|
$self->{value} = $value; |
21
|
|
|
|
|
|
|
|
22
|
1
|
|
|
|
|
4
|
return $self; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub getName { |
26
|
1
|
|
|
1
|
1
|
2
|
my $self = shift; |
27
|
|
|
|
|
|
|
|
28
|
1
|
|
|
|
|
4
|
return $self->{name}; |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub getValue { |
32
|
1
|
|
|
1
|
1
|
2
|
my $self = shift; |
33
|
|
|
|
|
|
|
|
34
|
1
|
|
|
|
|
3
|
return $self->{value}; |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |
38
|
|
|
|
|
|
|
__END__ |