
Text::TOC::Node::HTML - Represents a node in an HTML document

version 0.08

This class represents a node from an HTML document which will be included in the table of contents.

This class implements the following methods:
The constructor accepts the following arguments:
This is expected to be an HTML tag name, like "h2" or "img".
The name of the anchor associated with this node.
A Path::Class::File object representing the source file for the node.
An HTML::DOM::Node object representing the node and its contents.
Returns the value as passed to the constructor.

This class does the Text::TOC::Role::Node role.

Dave Rolsky <autarch@urth.org>

This software is copyright (c) 2010 by Dave Rolsky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.