line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package XML::NewsML_G2::Link; |
2
|
|
|
|
|
|
|
|
3
|
18
|
|
|
18
|
|
121
|
use Moose; |
|
18
|
|
|
|
|
40
|
|
|
18
|
|
|
|
|
123
|
|
4
|
18
|
|
|
18
|
|
80289
|
use namespace::autoclean; |
|
18
|
|
|
|
|
42
|
|
|
18
|
|
|
|
|
137
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
has 'residref', isa => 'Str', is => 'rw'; |
7
|
|
|
|
|
|
|
has 'href', isa => 'Str', is => 'rw'; |
8
|
|
|
|
|
|
|
has 'version', isa => 'Int', is => 'rw', default => 1; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
1; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 NAME |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
XML::NewsML_G2::Link - a link specification |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 SYNOPSIS |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
my $pic = XML::NewsML_G2::Link->new |
21
|
|
|
|
|
|
|
(idref => 'tag:acme.com,2015:123456', |
22
|
|
|
|
|
|
|
version => 2, |
23
|
|
|
|
|
|
|
); |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=over 4 |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=item residref |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
A unique id as free text |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=item href |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Resource locator i.e. http://somesite.eu/image.jpg |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=item version |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
The version of the item |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=back |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 AUTHOR |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Christian Eder C<< <christian.eder@apa.at> >> |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 LICENCE AND COPYRIGHT |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Copyright (c) 2013-2015, APA-IT. All rights reserved. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
See L<XML::NewsML_G2> for the license. |