NAME

Text::Decorator::Node - A blob of text in a Text::Decorator decoration

SYNOPSIS

$self->new($text);
$self->format_as("html");

DESCRIPTION

This represents a piece of text which is going to undergo formatting and decoration.

METHODS

new

$self->new

Creates a new Text::Decorator::Node instance.

format_as

$self->format_as($representation)

Returns this node in the specified representation, or plain text.

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