The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Netscape::Bookmarks::Isa - mixin methods for object identity

SYNOPSIS

        use base qw( Netscape::Bookmarks::Isa );

        my $bookmarks = Netscape::Bookmarks->new( $bookmarks_file );

        foreach my $element ( $bookmarks->elements )
                {
                print "Found category!\n" if $element->is_category;
                }

DESCRIPTION

THIS IS AN ABANDONED MODULE. THERE IS NO SUPPORT. YOU CAN ADOPT IT IF YOU LIKE: https://pause.perl.org/pause/query?ACTION=pause_04about#takeover

This module is a base class for Netscape::Bookmarks modules. Each object can respond to queries about its identity. Use this module as a mixin class.

METHODS

Methods return false unless otherwise noted.

is_category

Returns true if the object is a Category.

Returns true if the object is a Link or alias to a Link.

is_alias

Returns true if the object is an Alias.

is_separator

Returns true if the object is a Separator.

is_collection

Returns true if the object is a Category.

AUTHOR

brian d foy <bdfoy@cpan.org>

COPYRIGHT AND LICENSE

Copyright © 2002-2019, brian d foy <bdfoy@cpan.org>. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.

SEE ALSO

Netscape::Bookmarks::Category, Netscape::Bookmarks::Link, Netscape::Bookmarks::Alias, Netscape::Bookmarks::Separator.