NAME

W3C::SOAP::XSD::Parser - Parser for XSD documents that generates Perl modules implementing the object defined.

VERSION

This documentation refers to W3C::SOAP::XSD::Parser version 0.14.

SYNOPSIS

use W3C::SOAP::XSD::Parser;

# 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

SUBROUTINES/METHODS

load_xsd ($schema_location)

Loads the schema and dynamically generates the Perl/Moose packages that represent the schema.

write_modules ()

Uses the supplied documents to write out perl modules to disk that represent the XSDs in the documents.

write_module ($tt, $data, $file)

Write the template to disk

written_modules ()

Returns a list of all XSD modules written by the parser.

get_schemas ()

Gets a list of the schemas imported/included from the base XML Schema(s)

complex_type_package ( $xsd, $type, $class_name, $super)

Creates the complex types

<$wsdl-dynamic_classes ()>>

Creates a dynamic XSD objects that represent the XML Schema files imported.

element_attributes ( $class, $class_name, $element )

Sets up all the attributes for a single element

elements_package ( $xsd, $class_name )

Creates the package that represents top level elements in the XSD

simple_type_package ( $xsd )

Creates all the simple types for the $xsd

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.