HTML::Widgets::NavMenu::Iterator::Html - an iterator for HTML.


NAME

HTML::Widgets::NavMenu::Iterator::Html - an iterator for HTML.


SYNOPSIS

For internal use only.


METHODS =cut

use base qw(HTML::Widgets::NavMenu::Iterator::Base);

use HTML::Widgets::NavMenu::EscapeHtml;

sub _construct_new_item { my $self = shift;

    return HTML::Widgets::NavMenu::Iterator::Html::Item->new(
        @_
    );
    }

$self->node_start()

Gets called upon node start.

$self->node_end()

Gets called upon node end.

$self->end_root()

End-root event.

$self->node_should_recurse()

Override to determine when one should recurse to the node.

$self->get_a_tag()

Renders the HTML for the opening a-tag.


COPYRIGHT & LICENSE

Copyright 2006 Shlomi Fish, all rights reserved.

This program is released under the following license: MIT X11.