Ignore:
Timestamp:
2011-09-02T16:28:57+12:00 (13 years ago)
Author:
ak19
Message:

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/MetadataCSVPlugin.pm

    r23561 r24547  
    2929
    3030use BasePlugin;
     31use MetadataRead;
     32
    3133use strict;
    3234no strict 'refs';
     
    3436
    3537
     38# methods with identical signatures take precedence in the order given in the ISA list.
    3639sub BEGIN {
    37     @MetadataCSVPlugin::ISA = ('BasePlugin');
     40    @MetadataCSVPlugin::ISA = ('MetadataRead', 'BasePlugin');
    3841}
    3942
Note: See TracChangeset for help on using the changeset viewer.