1 package OpenSRF::DomainObjectCollection;
2 use base 'OpenSRF::DOM::Element::domainObjectCollection';
4 use OpenSRF::Utils::Logger qw(:level);
5 my $logger = "OpenSRF::Utils::Logger";
9 OpenSRF::DomainObjectCollection
13 OpenSRF::DomainObjectCollection is an abstract base class. It
14 should not be used directly. See C<OpenSRF::DomainObjectCollection::*>
21 $class = ref($class) || $class;
25 (my $type = $class) =~ s/^.+://o;
27 my $doc = OpenSRF::DOM->createDocument;
28 my $dO = OpenSRF::DOM::Element::domainObjectCollection->new( $type, @args );
30 $doc->documentElement->appendChild($dO);