File Coverage

blib/lib/WebService/Cmis/AtomFeed/ChangeEntries.pm
Criterion Covered Total %
statement 7 9 77.7
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 12 83.3


line stmt bran cond sub pod time code
1             package WebService::Cmis::AtomFeed::ChangeEntries;
2              
3             =head1 NAME
4              
5             WebService::Cmis::AtomFeed::ChangeEntries - a set of CMIS ChangeEntry objects
6              
7             =head1 DESCRIPTION
8              
9             This is a Result sets representing an atom feed of L
10              
11             Parent-class: L
12              
13             =cut
14              
15 1     1   17889 use strict;
  1         3  
  1         46  
16 1     1   7 use warnings;
  1         2  
  1         35  
17 1     1   73 use WebService::Cmis::AtomFeed ();
  0            
  0            
18             use WebService::Cmis::ChangeEntry ();
19              
20             our @ISA = qw(WebService::Cmis::AtomFeed);
21              
22             =head1 METHODS
23              
24             =over 4
25              
26             =item newEntry(xmlDoc) -> $object
27              
28             returns a ChangeEntry objct created by parsing the given XML fragment
29              
30             =cut
31              
32             sub newEntry {
33             my ($this, $xmlDoc) = @_;
34              
35             return unless defined $xmlDoc;
36             #print STDERR "### creating ChangeEntry from\n".$xmlDoc->toString(1)."\n###\n";
37             return new WebService::Cmis::ChangeEntry(repository=>$this->{repository}, xmlDoc=>$xmlDoc);
38             }
39              
40             =back
41              
42             =head1 COPYRIGHT AND LICENSE
43              
44             Copyright 2012-2013 Michael Daum
45              
46             This module is free software; you can redistribute it and/or modify it under
47             the same terms as Perl itself. See F.
48              
49             =cut
50              
51             1;