|
NAMEText::Decorator::Group - A (possibly nested) group of nodes SYNOPSIS my $group = $self->new(@nodes);
$self->format_as('html');
$self->nodes
DESCRIPTIONA Group is a set of nodes that live together for some semantic reason - paragraphs in a document, sentences in a paragraph, or whatever. METHODSnew$self->new(@nodes); 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.
|