line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package XML::NewsML_G2::Role::Remote; |
2
|
|
|
|
|
|
|
|
3
|
18
|
|
|
18
|
|
10063
|
use XML::NewsML_G2::Types; |
|
18
|
|
|
|
|
44
|
|
|
18
|
|
|
|
|
512
|
|
4
|
|
|
|
|
|
|
|
5
|
18
|
|
|
18
|
|
146
|
use Moose::Role; |
|
18
|
|
|
|
|
39
|
|
|
18
|
|
|
|
|
213
|
|
6
|
18
|
|
|
18
|
|
86242
|
use namespace::autoclean; |
|
18
|
|
|
|
|
39
|
|
|
18
|
|
|
|
|
114
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
has 'size', isa => 'Int', is => 'rw'; |
9
|
|
|
|
|
|
|
has 'mimetype', isa => 'Str', is => 'rw'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
1; |
12
|
|
|
|
|
|
|
__END__ |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 NAME |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
XML::NewsML_G2::Remote - Used by Picture, Graphics, Audio, Video |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 SYNOPSIS |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
my $pic = XML::NewsML_G2::Video->new |
21
|
|
|
|
|
|
|
(size => 2231259, |
22
|
|
|
|
|
|
|
width => 1280, |
23
|
|
|
|
|
|
|
height => 720, |
24
|
|
|
|
|
|
|
duration => 220, |
25
|
|
|
|
|
|
|
); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=over 4 |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=item size |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
The size in bytes of the video file |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=item mimetype |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
The MIME type of the video file (e.g. image/jpg) |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=back |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 AUTHOR |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Mario Paumann C<< <mario.paumann@apa.at> >> |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 LICENCE AND COPYRIGHT |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Copyright (c) 2013-2014, APA-IT. All rights reserved. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
See L<XML::NewsML_G2> for the license. |