example/lib/MyElements/sayHello.pm

filter: Statementstmt 100% 28 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 1 totaltotal 97.1% 34 / 35 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
get_xmlns
1.0
CRAP 1.0
« blib/lib/SOAP/WSDL/XSD/Typelib/Builtin/float.pm ↑ Summary blib/lib/SOAP/WSDL/Client/Base.pm »
1 package MyElements::sayHello;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 { # BLOCK to scope variables
6  
7 13 ▶sub get_xmlns { 'urn:HelloWorld' }
Subroutine get_xmlns: called CC=1 SCAR=0.0
Pod undocumented
8  
9 1 __PACKAGE__->__set_name('sayHello');
10 1 __PACKAGE__->__set_nillable();
11 1 __PACKAGE__->__set_minOccurs();
12 1 __PACKAGE__->__set_maxOccurs();
13 1 __PACKAGE__->__set_ref();
14  
15 1 ▶use base qw(
Subroutine BEGIN: called CC=1 SCAR=0.0
16 SOAP::WSDL::XSD::Typelib::Element
17 SOAP::WSDL::XSD::Typelib::ComplexType
18 1 );
19 1 ▶use Class::Std::Fast::Storable constructor => 'none';
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 1 Class::Std::initialize();
23  
24 { # BLOCK to scope variables
25  
26 1 my %name_of :ATTR(:get<name>);
27 1 my %givenName_of :ATTR(:get<givenName>);
28  
29 1 __PACKAGE__->_factory(
30 [ qw(
31 name
32 givenName
33 ) ],
34 {
35 name => \%name_of,
36 givenName => \%givenName_of,
37 },
38 {
39 name => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
40 givenName => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
41 }
42 );
43  
44 } # end BLOCK
45  
46  
47  
48  
49  
50  
51  
52 } # end of BLOCK
53 1 1;
54  
55 # __END__
56  
57 =pod
58  
59 =head1 NAME
60  
61 MyElements::sayHello
62  
63 =head1 DESCRIPTION
64  
65 Perl data type class for the XML Schema defined element
66 sayHello from the namespace urn:HelloWorld.
67  
68 =head1 METHODS
69  
70 =head2 new
71  
72 my $element = MyElements::sayHello->new($data);
73  
74 Constructor. The following data structure may be passed to new():
75  
76 {
77 name => $some_value, # string
78 givenName => $some_value, # string
79 },
80  
81 =head1 AUTHOR
82  
83 Generated by SOAP::WSDL
84  
85 =cut
86  
« blib/lib/SOAP/WSDL/XSD/Typelib/Builtin/float.pm ↑ Summary blib/lib/SOAP/WSDL/Client/Base.pm »