Description | A static content generator. |
Newcomen::Renderer::Specification - A renderer backend specification.
use Newcomen::Renderer::Specification; my $spec = Newcomen::Renderer::Specification -> new ( 'name' => $backend_name ); # Set some option: $spec -> set (['some', 'option'], 'value');
A renderer backend specification contains a renderer backend name and its options. This is for example used in Newcomen::Page instances to store the renderer that should be used for the page.
my $spec = Newcomen::Renderer::Specification -> new ( 'name' => $backend_name );
Constructor. The name parameter is mandatory, it specifies the renderer backend by its basename
(i.e. the module name without the 'Newcomen::Renderer::'
prefix). The name can not be changed
later on. Newcomen::Renderer::Specification does not check if a backend by the specified name
exists.
Please see Newcomen::Role::Backend::Specification for a list of instance methods and their description.
Newcomen::Data, Newcomen::Page, Newcomen::Renderer, Newcomen::Role::Backend::Specification
This is version 2014052501
.
Stefan Goebel - newcomen {at} subtype {dot} de
Copyright 2013-2014 Stefan Goebel.
This file is part of Newcomen.
Newcomen 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 3 of the license, or (at your option) any later version.
Newcomen 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 Newcomen. If not, see <http://www.gnu.org/licenses/>.