[% USE XSD(context) -%]
package [% XSD.create_xsd_name(simpleType) %];
use strict;
use warnings;

sub get_xmlns { '[% simpleType.get_targetNamespace %]'};

[% INCLUDE simpleType/contentModel.tt %]
[%#
# Don't include any perl source here - there may be sub-packages...
#-%]

1;

__END__
[%# work around for CPAN's indexer, which gets disturbed by pod in templates -%]
[% pod = BLOCK %]=pod[% END -%]
[% head1 = BLOCK %]=head1[% END -%]
[% head2 = BLOCK %]=head2[% END -%]
[% head3 = BLOCK %]=head3[% END -%]

[% pod %]

[% head1 %] NAME

[% XSD.create_name(simpleType) %]

[% head1 %] DESCRIPTION

Perl data type class for the XML Schema defined simpleType
[% simpleType.get_name %] from the namespace [% simpleType.get_targetNamespace %].

[% INCLUDE POD/annotation.tt(node = simpleType) %]

[% INCLUDE simpleType/POD/contentModel.tt(simpleType = simpleType) %]

[% head1 %] METHODS

[% head2 %] new

Constructor.

[% head2 %] get_value / set_value

Getter and setter for the simpleType's value.

[% head1 %] OVERLOADING

Depending on the simple type's base type, the following operations are overloaded

 Stringification
 Numerification
 Boolification

Check L<SOAP::WSDL::XSD::Typelib::Builtin> for more information.

[% head1 %] AUTHOR

Generated by SOAP::WSDL

=cut

