blib/lib/W3C/SOAP/WADL/Document/Resource.pm

filter: Statementstmt 100% 41 / 41 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 10 / 10 Podpod n/a totaltotal 100% 51 / 51 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/W3C/SOAP/WADL/Document/Request.pm ↑ Summary blib/lib/W3C/SOAP/WADL/Document/ResourceType.pm »
1 package W3C::SOAP::WADL::Document::Resource;
2  
3 # Created on: 2013-04-22 20:57:18
4 # Create by: Ivan Wills
5 # $Id$
6 # $Revision$, $HeadURL$, $Date$
7 # $Revision$, $Source$, $Date$
8  
9 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 3 ▶use XML::Rabbit;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 3 ▶use version;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 3 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 3 ▶use Data::Dumper qw/Dumper/;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 3 ▶use English qw/ -no_match_vars /;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 3 ▶use W3C::SOAP::WADL::Document::Param;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 3 ▶use W3C::SOAP::WADL::Document::Method;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 3 ▶use W3C::SOAP::WADL::Document::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 3 our $VERSION = version->new('0.006');
21  
22 3 has_xpath_value id => './@id';
23 3 has_xpath_value path => './@path';
24 3 has_xpath_value type => './@type';
25 3 has_xpath_value querytype => './@queryType';
26  
27 3 has_xpath_value_list doc => './wadl:doc';
28 3 has_xpath_object_list param => (
29 './wadl:param' => 'W3C::SOAP::WADL::Document::Param',
30 predicate => 'has_param',
31 );
32 3 has_xpath_object_list method => (
33 './wadl:method' => 'W3C::SOAP::WADL::Document::Method',
34 );
35 3 has_xpath_object_list resource => (
36 './wadl:resource' => 'W3C::SOAP::WADL::Document::Resource',
37 );
38  
39 3 finalize_class();
40  
41 3 1;
42  
43 __END__
44  
45 =head1 NAME
46  
47 W3C::SOAP::WADL::Document::Resource - Container for WADL resource elements
48  
49 =head1 VERSION
50  
51 This documentation refers to W3C::SOAP::WADL::Document::Resource version 0.006.
52  
53 =head1 SYNOPSIS
54  
55 use W3C::SOAP::WADL::Document::Resource;
56  
57 # Brief but working code example(s) here showing the most common usage(s)
58 # This section will be as far as many users bother reading, so make it as
59 # educational and exemplary as possible.
60  
61  
62 =head1 DESCRIPTION
63  
64 =head1 SUBROUTINES/METHODS
65  
66 =head1 DIAGNOSTICS
67  
68 =head1 CONFIGURATION AND ENVIRONMENT
69  
70 =head1 DEPENDENCIES
71  
72 =head1 INCOMPATIBILITIES
73  
74 =head1 BUGS AND LIMITATIONS
75  
76 There are no known bugs in this module.
77  
78 Please report problems to Ivan Wills (ivan.wills@gmail.com).
79  
80 Patches are welcome.
81  
82 =head1 AUTHOR
83  
84 Ivan Wills - (ivan.wills@gmail.com)
85  
86 =head1 LICENSE AND COPYRIGHT
87  
88 Copyright (c) 2013 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077).
89 All rights reserved.
90  
91 This module is free software; you can redistribute it and/or modify it under
92 the same terms as Perl itself. See L<perlartistic>. This program is
93 distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
94 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
95 PARTICULAR PURPOSE.
96  
97 =cut
« blib/lib/W3C/SOAP/WADL/Document/Request.pm ↑ Summary blib/lib/W3C/SOAP/WADL/Document/ResourceType.pm »