Lire::Config::DlfAnalyserSpec.3pm

Langue: en

Autres versions - même langue

Version: 2006-07-23 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Lire::Config::DlfAnalyserSpec - PluginSpec to select an analyser.

DESCRIPTION

This Lire::Config::TypeSpec is a PluginSpec which can be used to select DlfAnalyser that should be used to create the Dlf records of an extended or derived schema.

new( 'name' => $dst_stream_name, ['src_schema' => $from_schema])

The name of the type specification is the name of the schema for which the analyser is selected. If the 'src_stream' parameter is used, only analysers which uses that value as their src_schema() will be selected.

The constructor will fill the PluginSpec automatically with the available options and it will be set the first analyser as default.

src_schema()

Returns the src_schema() that should be used by the selected DlfAnalyser. If no particular schema is required, undef will be returned.

SEE ALSO

   Lire::Config::PluginSpec(3pm), Lire::Config::DlfStreamSpec(3pm)
 
 

VERSION

$Id: DlfAnalyserSpec.pm,v 1.2 2006/07/23 13:16:30 vanbaal Exp $

AUTHORS

   Francis J. Lacoste <flacoste@logreport.org>
 
 
Copyright (C) 2004 Stichting LogReport Foundation LogReport@LogReport.org

This file is part of Lire.

Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.