|
NAMESOAP::WSDL::Generator::PrefixResolver - prefixes for different classesSYNOPSISIf you want to create your custom prefix resolver:package MyPrefixResolver; use strict; use warnings; use base qw(SOAP::WSDL::Generator::PrefixResolver); sub resolve_prefix { my ($self, $type, $namespace, $node) = @_; # return something special return $self->SUPER::resolve_prefix($type, $namespace, $node); } When generating code: use MyPrefixResolver; use SOAP::WSDL::Generator::XSD; my $generator = SOAP::WSDL::Generator::Template::XSD->new({ prefix_resolver_class => 'MyPrefixResolver', }); DESCRIPTIONPrefix resolver class for SOAP::WSDL's code generator. You may subclass it to apply some custom prefix resolving logic.Subclasses must implement the following methods:
BUGS AND LIMITATIONSYou cannot suffix your types by some rule yet...LICENSE AND COPYRIGHTCopyright 2008 Martin Kutter.This file is part of SOAP-WSDL. You may distribute/modify it under the same terms as perl itself AUTHORMartin Kutter <martin.kutter fen-net.de>REPOSITORY INFORMATION$Rev: 583 $ $LastChangedBy: kutterma $ $Id: $ $HeadURL: $
Visit the GSP FreeBSD Man Page Interface. |