Lire::Config::DlfAnalyserSpec(3) 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.

VERSION

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

AUTHORS

  Francis J. Lacoste <[email protected]>

COPYRIGHT

Copyright (C) 2004 Stichting LogReport Foundation [email protected]

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.