File: ObjectHandlerI.pm

package info (click to toggle)
libbio-mage-utils-perl 20030502.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 356 kB
  • sloc: perl: 3,118; makefile: 2
file content (52 lines) | stat: -rw-r--r-- 950 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package Bio::MAGE::XML::Handler::ObjectHandlerI;

use strict;
use Bio::MAGE::Base;
use base qw(Bio::MAGE::Base);
our $VERSION = '0.99';

sub new {
  my $pack = shift;
  my $self = bless {}, $pack;
  $self->throw_not_implemented("new not defined for ".ref(caller()));
}

sub handle {
  my $self = shift;
  $self->throw_not_implemented("handle not defined for ".ref(caller()));
}

1;

__END__

=head1 NAME

Bio::MAGE::XML::Handler::ObjectHandlerI - Abstract class for processing
Bio::MAGE objects.

=head1 SYNOPSIS

  my $objhandler;    #get an Bio::MAGE::XML::ObjectHandlerI somehow
  my $handler;       #get an Bio::MAGE::XML::Handler somehow
  my $reader;        #get a  Bio::MAGE::XML::Reader somehow

  $handler->objecthandler($objhandler);
  $reader->handler($handler)

=head1 DESCRIPTION

=head1 METHODS

=head2 CONSTRUCTORS AND FRIENDS

=head2 METHODS

=head1 AUTHORS

 Copyright (c) 2002
 Allen Day, <allenday@ucla.edu>

=head1 SEE ALSO

=cut