NAME
W3C::SOAP::XSD::Traits - Specifies the traits of an XSD Moose attribute
VERSION
This documentation refers to W3C::SOAP::XSD::Traits version 0.14.
SYNOPSIS
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.
DESCRIPTION
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.
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.
SUBROUTINES/METHODS
DIAGNOSTICS
CONFIGURATION AND ENVIRONMENT
DEPENDENCIES
INCOMPATIBILITIES
BUGS AND LIMITATIONS
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
AUTHOR
Ivan Wills - (ivan.wills@gmail.com)
LICENSE AND COPYRIGHT
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.