diff -r 892c1787d666 -r edde1fe80b3e Documentation/Source/eric5.Helpviewer.Bookmarks.XbelWriter.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.Helpviewer.Bookmarks.XbelWriter.html Sat Jan 02 18:19:35 2010 +0000 @@ -0,0 +1,100 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.Helpviewer.Bookmarks.XbelWriter</title> +<style> +b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.Helpviewer.Bookmarks.XbelWriter</h1> +<p> +Module implementing a class to write XBEL bookmark files. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#XbelWriter">XbelWriter</a></td> +<td>Class implementing a writer object to generate XBEL bookmark files.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="XbelWriter" ID="XbelWriter"></a> +<h2>XbelWriter</h2> +<p> + Class implementing a writer object to generate XBEL bookmark files. +</p> +<h3>Derived from</h3> +QXmlStreamWriter +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#XbelWriter.__init__">XbelWriter</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#XbelWriter.__write">__write</a></td> +<td>Private method to write an XBEL bookmark file.</td> +</tr><tr> +<td><a href="#XbelWriter.__writeItem">__writeItem</a></td> +<td>Private method to write an entry for a node.</td> +</tr><tr> +<td><a href="#XbelWriter.write">write</a></td> +<td>Public method to write an XBEL bookmark file.</td> +</tr> +</table> +<a NAME="XbelWriter.__init__" ID="XbelWriter.__init__"></a> +<h4>XbelWriter (Constructor)</h4> +<b>XbelWriter</b>(<i></i>) +<p> + Constructor +</p><a NAME="XbelWriter.__write" ID="XbelWriter.__write"></a> +<h4>XbelWriter.__write</h4> +<b>__write</b>(<i>root</i>) +<p> + Private method to write an XBEL bookmark file. +</p><dl> +<dt><i>root</i></dt> +<dd> +root node of the bookmark tree (BookmarkNode) +</dd> +</dl><a NAME="XbelWriter.__writeItem" ID="XbelWriter.__writeItem"></a> +<h4>XbelWriter.__writeItem</h4> +<b>__writeItem</b>(<i>node</i>) +<p> + Private method to write an entry for a node. +</p><dl> +<dt><i>node</i></dt> +<dd> +reference to the node to be written (BookmarkNode) +</dd> +</dl><a NAME="XbelWriter.write" ID="XbelWriter.write"></a> +<h4>XbelWriter.write</h4> +<b>write</b>(<i>fileNameOrDevice, root</i>) +<p> + Public method to write an XBEL bookmark file. +</p><dl> +<dt><i>fileNameOrDevice</i></dt> +<dd> +name of the file to write (string) + or device to write to (QIODevice) +</dd><dt><i>root</i></dt> +<dd> +root node of the bookmark tree (BookmarkNode) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file