NAME
Text::Decorator::Group - A (possibly nested) group of nodes
SYNOPSIS
$self->new(...);
$self->format_as(...);
$self->nodes
DESCRIPTION
A Group is a set of nodes that live together for some semantic reason - paragraphs in a document, sentences in a paragraph, or whatever.
METHODS
new
$self->new
Creates a new Text::Decorator::Group instance.
nodes
@nodes = $self->nodes;
Returns the nodes which make up this group.
format_as
$self->format_as("html")
Descend into the group, formatting each node, stringing the pieces together and returning the result, optionally adding some pre- and post- representation-specific material.
LICENSE
This module is free software, and may be distributed under the same terms as Perl itself.
AUTHOR
Copyright (C) 2003, Simon Cozens simon@kasei.com