Lines Matching defs:Packager
7 # $Id: Packager.pm 414 2012-07-15 09:18:42Z kutterma $
11 package SOAP::Packager;
54 # This is a static method that helps find the right Packager
60 # * the proper SOAP::Packager instance
71 die "SOAP::Packager::package() must be implemented";
81 package SOAP::Packager::MIME;
85 @ISA = qw(SOAP::Packager);
101 my $self = SOAP::Packager::new(@_);
106 $SOAP::Packager::SUPPORTED_TYPES->{"MIME::Entity"} = 1;
179 # warn "I am somewhere in the SOAP::Packager::MIME code I didn't know I would be in!";
261 package SOAP::Packager::DIME;
265 @ISA = qw(SOAP::Packager);
281 my $self = SOAP::Packager::new(@_);
283 $SOAP::Packager::SUPPORTED_TYPES->{"DIME::Payload"} = 1;
341 print STDERR "Adding part to Packager\n";
354 SOAP::Packager - this class is an abstract class which allows for multiple types of packaging agents such as MIME and DIME.
358 The SOAP::Packager class is responsible for managing a set of "parts." Parts are
370 Instantiates a new instance of a SOAP::Packager.
375 dependent upon the Packager being used. For example, when using MIME, the content
380 Adds a part to set of parts managed by the current instance of SOAP::Packager.
396 If you wish to implement your own SOAP::Packager, then the methods below must be
419 =head2 SOAP::Packager::MIME
421 C<SOAP::Packager::MIME> utilizes L<MIME::Tools> to provides the ability to send
462 my $packager = SOAP::Packager::MIME->new;
488 ->packager(SOAP::Packager::MIME->new)
505 ->packager(SOAP::Packager::MIME->new)
535 =head2 SOAP::Packager::DIME