XML::XBEL::Folder - OOP for reading/writing XBEL folders.
use XML::XBEL::Folder;
OOP for reading/writing XBEL folders.
Valid arguments are :
title
String.
desc
id
added
folded
yes (default) or no.
info
Hash ref, with the following key/value pairs :
owner
Array ref.
Returns a XML::XBEL::Folder object.
Get/set the title for an XBEL folder.
Returns a string when called with no arguments; otherwise returns true or false.
Get/set the description for an XBEL folder.
Get/set the metadata for an XBEL document.
Valid args are :
Array reference
Returns an array reference when called with no arguments; otherwise returns true or false.
Get/set the id attribute for an XBEL folder.
Get/set the creation datetime for an XBEL folder.
Get/set the folded state for an XBEL folder.
Returns a list of child XML::XBEL::Bookmark objects.
Where $recursive is a boolean indicating whether to return all the bookmarks in an XBEL folder or only its immediate children.
Returns a list of child XML::XBEL::Folder objects.
Where $recursive is a boolean indicating whether to return all the folders in an XBEL folder or only its immediate children.
Returns a list of child XML::XBEL::Alias objects.
Where $recursive is a boolean indicating whether to return all the aliases in an XBEL folder or only its immediate children.
Add a new bookmark to an XBEL folder.
If passed a hash ref, valid arguments are the same as those defined for the XML::XBEL::Bookmark object constructor.
Add a new folder to an XBEL folder.
If passed a hash ref, valid arguments are the same as those defined for the XML::XBEL::Folder object constructor.
Add a new alias to an XBEL folder.
If passed a hash ref, valid arguments are the same as those defined for the XML::XBEL::Alias object constructor.
Delete an XBEL folder.
$Revision: 1.5 $
$Date: 2004/06/24 02:15:15 $
Aaron Straup Cope <ascope@cpan.org>
XML::XBEL
XML::XBEL::Bookmark
XML::XBEL::Alias
XML::XBEL::Separator
Copyright (c) 2004 Aaron Straup Cope. All rights reserved.
This is free software, you may use it and distribute it under the same terms as Perl itself.
To install XML::XBEL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::XBEL
CPAN shell
perl -MCPAN -e shell install XML::XBEL
For more information on module installation, please visit the detailed CPAN module installation guide.