W3C::SOAP::XSD::Traits - Specifies the traits of an XSD Moose attribute
This documentation refers to W3C::SOAP::XSD::Traits version 0.09.
use W3C::SOAP::XSD::Traits; # Brief but working code example(s) here showing the most common usage(s) # This section will be as far as many users bother reading, so make it as # educational and exemplary as possible.
Defines the Moose attribute trait W3C::SOAP::XSD. This specifies a number of properties that an attribute can have which helps the processing of objects representing XSDs.
W3C::SOAP::XSD
xs_perl_module
If the attribute has a type that is a perl module (or a list of a perl module) This parameter helps in the coercing of XML nodes to the attribute.
xs_min_occurs
This represents the minimum number of occurrences of elements in a list.
xs_max_occurs
This specifies the maximum number of occurrences of elements in a list.
xs_name
This is the name as it appears in the XSD
xs_type
This is the type as it appears in the XSD (this will be translated to perl types/modules specified by the isa property)
xs_choice_group
If a complex element has choices this records the grouping of those choices.
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
Ivan Wills - (ivan.wills@gmail.com)
Copyright (c) 2012 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install W3C::SOAP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm W3C::SOAP
CPAN shell
perl -MCPAN -e shell install W3C::SOAP
For more information on module installation, please visit the detailed CPAN module installation guide.