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

    r23564 r24547  
    3030use multiread;
    3131use SplitTextFile;
     32use MetadataRead;
    3233
    3334use strict;
     
    3536
    3637# ISISPlugin is a sub-class of SplitTextFile.
     38# methods with identical signatures take precedence in the order given in the ISA list.
    3739sub BEGIN {
    38     @ISISPlugin::ISA = ('SplitTextFile');
     40    @ISISPlugin::ISA = ('MetadataRead', 'SplitTextFile');
    3941}
    4042
Note: See TracChangeset for help on using the changeset viewer.