Lines Matching defs:Packager
7 # $Id: Packager.pm,v 1.7 2006/08/16 14:07:38 byrnereese Exp $
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!";
254 package SOAP::Packager::DIME;
258 @ISA = qw(SOAP::Packager);
274 my $self = SOAP::Packager::new(@_);
276 $SOAP::Packager::SUPPORTED_TYPES->{"DIME::Payload"} = 1;
334 print STDERR "Adding part to Packager\n";
347 SOAP::Packager - this class is an abstract class which allows for multiple types of packaging agents such as MIME and DIME.
351 The SOAP::Packager class is responsible for managing a set of "parts." Parts are
363 Instantiates a new instance of a SOAP::Packager.
368 dependant upon the Packager being used. For example, when using MIME, the content
373 Adds a part to set of parts managed by the current instance of SOAP::Packager.
389 If you wish to implement your own SOAP::Packager, then the methods below must be
412 =head2 SOAP::Packager::MIME
414 C<SOAP::Packager::MIME> utilizes L<MIME::Tools> to provides the ability to send
455 my $packager = SOAP::Packager::MIME->new;
481 ->packager(SOAP::Packager::MIME->new)
498 ->packager(SOAP::Packager::MIME->new)
528 =head2 SOAP::Packager::DIME