import SOAP-WSDL 2.00.07 from CPAN
git-cpan-module: SOAP-WSDL git-cpan-version: 2.00.07 git-cpan-authorid: MKUTTER git-cpan-file: authors/id/M/MK/MKUTTER/SOAP-WSDL-2.00.07.tar.gz
This commit is contained in:
committed by
Michael G. Schwern
parent
3de318be40
commit
bfc3247583
@@ -0,0 +1,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;
|
||||
Reference in New Issue
Block a user