Lire::Config::XMLSpecListSpec3pm
List of xml specifications.
Overview
This Lire::Config::TypeSpec defines a special kind of ListSpec. It overrides the has_component(), get(), component_names() and components() methods so that every XML report specifications or filter specifications are available. The specifications are created dynamically at runtime.
new( 'name' => $name, 'type' => 'filters'|'reports )
Creates a new Lire::Config::XMLSpecListSpec object which will contains a list of report or filter specifications configuration. The type parameter is used to select whether Lire::ReportSpec or Lire::FilterSpec will be creatd.
type()
Returns the type of specification contained by this object.
has_component( $name )
This spec will return true when $name is of the form superservice:id and there is an available id specification defined in superservice. It returns false otherwise.
component_names()
Returns an array containing the configuration name of all available specifications.
get( $name )
Returns an Lire::Config::ObjectSpec specification for the component named $name. The ObjectSpec will instantiate a Lire::ReportSpec or Lire::FilterSpec of the appropriate type.
components()
Returns an array containing all the Lire::Config::ObjectSpec defining the available specifications.
See also
Lire::Config::ReportSectionSpec(3pm), Lire::Config::ReportSpec(3pm),Lire::ReportSpec(3pm), Lire::FilterSpec(3pm).
Version
$Id: XMLSpecListSpec.pm,v 1.8 2006/07/23 13:16:31 vanbaal Exp $
Releases
6 releases since Debian 3.1 (Sarge); the text changed 5 times.