Lire::Config::XMLSpecListSpec(3pm)

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.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. Arch

Author

  Francis J. Lacoste <[email protected]>

From lire 2.1.1-8 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.