eric6.Helpviewer.Bookmarks.XbelWriter
Module implementing a class to write XBEL bookmark files.
Global Attributes
Classes
| XbelWriter | Class implementing a writer object to generate XBEL bookmark files. | 
Functions
XbelWriter
    Class implementing a writer object to generate XBEL bookmark files.
Derived from
QXmlStreamWriter
Class Attributes
Class Methods
Methods
| XbelWriter | Constructor | 
| __write | Private method to write an XBEL bookmark file. | 
| __writeItem | Private method to write an entry for a node. | 
| write | Public method to write an XBEL bookmark file. | 
Static Methods
XbelWriter (Constructor)
XbelWriter()
        Constructor
XbelWriter.__write
__write(root)
        Private method to write an XBEL bookmark file.
- root
- 
root node of the bookmark tree (BookmarkNode)
- Returns:
- 
flag indicating success (boolean)
XbelWriter.__writeItem
__writeItem(node)
        Private method to write an entry for a node.
- node
- 
reference to the node to be written (BookmarkNode)
XbelWriter.write
write(fileNameOrDevice, root)
        Public method to write an XBEL bookmark file.
- fileNameOrDevice
- 
name of the file to write (string)
            or device to write to (QIODevice)
- root
- 
root node of the bookmark tree (BookmarkNode)
- Returns:
- 
flag indicating success (boolean)