File Coverage

blib/lib/W3C/SOAP/XSD/Document/List.pm
Criterion Covered Total %
statement 27 27 100.0
branch n/a
condition n/a
subroutine 9 9 100.0
pod n/a
total 36 36 100.0


line stmt bran cond sub pod time code
1             package W3C::SOAP::XSD::Document::List;
2              
3             # Created on: 2012-05-26 19:04:19
4             # Create by: Ivan Wills
5             # $Id$
6             # $Revision$, $HeadURL$, $Date$
7             # $Revision$, $Source$, $Date$
8              
9 1     1   1355 use Moose;
  1         2  
  1         7  
10 1     1   5092 use warnings;
  1         2  
  1         23  
11 1     1   4 use version;
  1         2  
  1         7  
12 1     1   61 use Carp;
  1         2  
  1         62  
13 1     1   4 use Scalar::Util;
  1         2  
  1         31  
14 1     1   5 use List::Util;
  1         2  
  1         52  
15             #use List::MoreUtils;
16 1     1   5 use Data::Dumper qw/Dumper/;
  1         1  
  1         38  
17 1     1   5 use English qw/ -no_match_vars /;
  1         1  
  1         7  
18 1     1   446 use W3C::SOAP::Utils qw/split_ns/;
  1         2  
  1         7  
19              
20             extends 'W3C::SOAP::XSD::Document::Type';
21              
22             our $VERSION = version->new('0.09');
23              
24             has type => (
25             is => 'rw',
26             isa => 'Str',
27             builder => '_type',
28             lazy => 1,
29             );
30             has enumeration => (
31             is => 'rw',
32             isa => 'ArrayRef[Str]',
33             builder => '_enumeration',
34             lazy => 1,
35             );
36              
37             1;
38              
39             __END__
40              
41             =head1 NAME
42              
43             W3C::SOAP::XSD::Document::List - Support for XDS lists
44              
45             =head1 VERSION
46              
47             This documentation refers to W3C::SOAP::XSD::Document::List version 0.09.
48              
49             =head1 SYNOPSIS
50              
51             use W3C::SOAP::XSD::Document::List;
52              
53             my $list = W3C::SOAP::XSD::Document::List->new()
54              
55             =head1 DESCRIPTION
56              
57              
58             =head1 SUBROUTINES/METHODS
59              
60             =over 4
61              
62             =item C<type ()>
63              
64             =item C<enumeration ()>
65              
66             =back
67              
68             =head1 DIAGNOSTICS
69              
70             =head1 CONFIGURATION AND ENVIRONMENT
71              
72             =head1 DEPENDENCIES
73              
74             =head1 INCOMPATIBILITIES
75              
76             =head1 BUGS AND LIMITATIONS
77              
78             There are no known bugs in this module.
79              
80             Please report problems to Ivan Wills (ivan.wills@gmail.com).
81              
82             Patches are welcome.
83              
84             =head1 AUTHOR
85              
86             Ivan Wills - (ivan.wills@gmail.com)
87              
88             =head1 LICENSE AND COPYRIGHT
89              
90             Copyright (c) 2012 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077).
91             All rights reserved.
92              
93             This module is free software; you can redistribute it and/or modify it under
94             the same terms as Perl itself. See L<perlartistic>. This program is
95             distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
96             without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
97             PARTICULAR PURPOSE.
98              
99             =cut