File: element.pm

package info (click to toggle)
libsoap-wsdl-perl 3.004-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,600 kB
  • sloc: perl: 8,433; xml: 1,769; java: 19; makefile: 15
file content (43 lines) | stat: -rwxr-xr-x 1,016 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package element;
use strict; use warnings;
our $VERSION = 0.1;
use base qw(SOAP::WSDL::XSD::Typelib::Element
    SOAP::WSDL::XSD::Typelib::ComplexType);

sub get_xmlns { 'http://www.w3.org/XMLSchema2001' }
sub __get_attr_class { 'element::_ATTR' }
__PACKAGE__->__set_name('element');

__PACKAGE__->_factory();

package element::_ATTR;
use strict; use warnings;
our $VERSION = 0.1;
use base qw(SOAP::WSDL::XSD::Typelib::AttributeSet);

my %name_of :ATTR(:name<name> :default<()>);
my %type_of :ATTR(:name<type> :default<()>);
my %ref_of :ATTR(:name<ref> :default<()>);

__PACKAGE__->_factory(
    [ 'name' , 'type', 'ref' ],
    {
        'name' => \%name_of,
        'ref' => \%ref_of,
        'type' => \%type_of,
    },
    {
        'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
        'type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
        'ref' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
    },
    {
        name => 'name',
        type => 'type',
        'ref' => 'ref'
    }
);

1;

1;