Ignore:
Timestamp:
2011-09-02T19:39:10+12:00 (13 years ago)
Author:
ak19
Message:

Part 2 of previous commit (r24547). Added new abstract plugin MetadataRead? that defines can_process_this_file_for_metadata that MetadataPlugin? subclasses can inherit (if MetadataRead? is listed first in the ISA inheritance list) and which will then override the one defined in BasePlugin?. For now committing MARC, ISIS and OAIPlugins which now additionally inherit from MetadataRead?. Other metadataPlugins also need to be committed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/ReferPlugin.pm

    r16104 r24548  
    6464
    6565use SplitTextFile;
     66use MetadataRead;
    6667use strict;
    6768no strict 'refs'; # allow filehandles to be variables and viceversa
     
    6970# ReferPlugin is a sub-class of BasePlugin.
    7071sub BEGIN {
    71     @ReferPlugin::ISA = ('SplitTextFile');
     72    @ReferPlugin::ISA = ('MetadataRead', 'SplitTextFile');
    7273}
    7374
Note: See TracChangeset for help on using the changeset viewer.