Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XML::XBEL::Bookmark(3)User Contributed Perl DocumentatioXML::XBEL::Bookmark(3)

NAME
       XML::XBEL::Bookmark - OOP for reading and writing XBEL bookmarks.

SYNOPSIS
	use XML::XBEL::Bookmark;

DESCRIPTION
       OOP for reading and writing XBEL	bookmarks.

PACKAGE	METHODS
   __PACKAGE__->new(\%args)
       Valid args are:

       o   title

	   String.

       o   href

	   String.

       o   id

	   String.

       o   desc

	   String.

       o   added

	   String.

       o   modified

	   String.

       o   visited

	   String.

       o   info

	   Hash	ref, with the following	key/value pairs	:

	   o	 owner

		 Array ref.

       Returns a XML::XBEL::Bookmark object.

OBJECT METHODS
   $obj->href(href)
       Get/set the href	attribute for an XBEL bookmark.

       If modified, the	object's modified method is automatically called with
       the current datetime.

   $obj->title($title)
       Get/set the title for an	XBEL bookmark.

       If modified, the	object's modified method is automatically called with
       the current datetime.

       Returns a string	when called with no arguments; otherwise returns true
       or false.

   $obj->desc($description)
       Get/set the description for an XBEL bookmark.

       If modified, the	object's modified method is automatically called with
       the current datetime.

       Returns a string	when called with no arguments; otherwise returns true
       or false.

   $obj->info(\%args)
       Get/set the metadata for	an XBEL	document.

       Valid args are :

       o   owner

	   Array reference

       Returns an array	reference when called with no arguments; otherwise
       returns true or false.

   $obj->id($id)
       Get/set the id attribute	for an XBEL bookmark.

       If modified, the	object's modified method is automatically called with
       the current datetime.

       Returns a string	when called with no arguments; otherwise returns true
       or false.

   $obj->added($datetime)
       Get/set the creation datetime for an XBEL bookmark.

       Returns a string	when called with no arguments; otherwise returns true
       or false.

   $obj->modified($datetime)
       Get/set the last	modified datetime for an XBEL bookmark.

       Returns a string	when called with no arguments; otherwise returns true
       or false.

   $obj->visited($datetime)
       Get/set the last	visited	datetime for an	XBEL bookmark.

       Returns a string	when called with no arguments; otherwise returns true
       or false.

   $obj->toString($format)
   $obj->toFile($filename,$format)
   $obj->toFH(\*$fh,$format)
VERSION
       $Revision: 1.4 $

DATE
       $Date: 2004/06/23 06:23:57 $

AUTHOR
       Aaron Straup Cope <ascope@cpan.org>

SEE ALSO
       XML::XBEL

       XML::XBEL::Folder

       XML::XBEL::Alias

       XML::XBEL::Separator

LICENSE
       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.

perl v5.32.0			  2020-08-11		XML::XBEL::Bookmark(3)

NAME | SYNOPSIS | DESCRIPTION | PACKAGE METHODS | OBJECT METHODS | VERSION | DATE | AUTHOR | SEE ALSO | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XML::XBEL::Bookmark&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help