Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockRule.html

changeset 17
edde1fe80b3e
child 21
b88a0e6268bd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockRule.html	Sat Jan 02 18:19:35 2010 +0000
@@ -0,0 +1,213 @@
+<?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.AdBlock.AdBlockRule</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.AdBlock.AdBlockRule</h1>
+<p>
+&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#114;&#117;&#108;&#101; &#99;&#108;&#97;&#115;&#115;.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#AdBlockRule">AdBlockRule</a></td>
+<td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#114;&#117;&#108;&#101;.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="AdBlockRule" ID="AdBlockRule"></a>
+<h2>AdBlockRule</h2>
+<p>
+    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#114;&#117;&#108;&#101;.
+</p>
+<h3>Derived from</h3>
+object
+<h3>Class Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+<table>
+<tr>
+<td><a href="#AdBlockRule.__init__">AdBlockRule</a></td>
+<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+</tr><tr>
+<td><a href="#AdBlockRule.__convertPatternToRegExp">__convertPatternToRegExp</a></td>
+<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; &#97; w&#105;&#108;&#100;&#99;&#97;&#114;&#100; &#112;&#97;&#116;&#116;&#101;&#114;&#110; &#116;&#111; &#97; &#114;&#101;&#103;&#117;&#108;&#97;&#114; &#101;x&#112;&#114;&#101;&#115;&#115;&#105;&#111;&#110;.</td>
+</tr><tr>
+<td><a href="#AdBlockRule.filter">filter</a></td>
+<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#102;&#105;&#108;&#116;&#101;&#114; &#115;&#116;&#114;&#105;&#110;&#103;.</td>
+</tr><tr>
+<td><a href="#AdBlockRule.isCSSRule">isCSSRule</a></td>
+<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#105;&#115; &#97; &#67;&#83;&#83; &#114;&#117;&#108;&#101;.</td>
+</tr><tr>
+<td><a href="#AdBlockRule.isEnabled">isEnabled</a></td>
+<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#105;&#115; &#101;&#110;&#97;&#98;&#108;&#101;&#100;.</td>
+</tr><tr>
+<td><a href="#AdBlockRule.isException">isException</a></td>
+<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#100;&#101;&#102;&#105;&#110;&#101;&#115; &#97;&#110; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;.</td>
+</tr><tr>
+<td><a href="#AdBlockRule.networkMatch">networkMatch</a></td>
+<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#102;&#111;&#114; &#97; &#109;&#97;&#116;&#99;&#104;.</td>
+</tr><tr>
+<td><a href="#AdBlockRule.regExpPattern">regExpPattern</a></td>
+<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#114;&#101;&#103;&#101;x&#112; &#112;&#97;&#116;&#116;&#101;&#114;&#110; &#111;&#102; &#116;&#104;&#101; &#114;&#117;&#108;&#101;.</td>
+</tr><tr>
+<td><a href="#AdBlockRule.setEnabled">setEnabled</a></td>
+<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#114;&#117;&#108;&#101;'&#115; &#101;&#110;&#97;&#98;&#108;&#101;&#100; &#115;&#116;&#97;&#116;&#101;.</td>
+</tr><tr>
+<td><a href="#AdBlockRule.setException">setException</a></td>
+<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#114;&#117;&#108;&#101;'&#115; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#102;&#108;&#97;&#103;.</td>
+</tr><tr>
+<td><a href="#AdBlockRule.setFilter">setFilter</a></td>
+<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#102;&#105;&#108;&#116;&#101;&#114; &#115;&#116;&#114;&#105;&#110;&#103;.</td>
+</tr><tr>
+<td><a href="#AdBlockRule.setPattern">setPattern</a></td>
+<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#112;&#97;&#116;&#116;&#101;&#114;&#110;.</td>
+</tr>
+</table>
+<a NAME="AdBlockRule.__init__" ID="AdBlockRule.__init__"></a>
+<h4>AdBlockRule (Constructor)</h4>
+<b>AdBlockRule</b>(<i>filter = ""</i>)
+<p>
+        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+</p><a NAME="AdBlockRule.__convertPatternToRegExp" ID="AdBlockRule.__convertPatternToRegExp"></a>
+<h4>AdBlockRule.__convertPatternToRegExp</h4>
+<b>__convertPatternToRegExp</b>(<i>wildcardPattern</i>)
+<p>
+        &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; &#97; w&#105;&#108;&#100;&#99;&#97;&#114;&#100; &#112;&#97;&#116;&#116;&#101;&#114;&#110; &#116;&#111; &#97; &#114;&#101;&#103;&#117;&#108;&#97;&#114; &#101;x&#112;&#114;&#101;&#115;&#115;&#105;&#111;&#110;.
+</p><dl>
+<dt><i>wildcardPattern</i></dt>
+<dd>
+&#115;&#116;&#114;&#105;&#110;&#103; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#105;&#110;&#103; &#116;&#104;&#101; w&#105;&#108;&#100;&#99;&#97;&#114;&#100; &#112;&#97;&#116;&#116;&#101;&#114;&#110; (&#115;&#116;&#114;&#105;&#110;&#103;)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+&#115;&#116;&#114;&#105;&#110;&#103; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#105;&#110;&#103; &#97; &#114;&#101;&#103;&#117;&#108;&#97;&#114; &#101;x&#112;&#114;&#101;&#115;&#115;&#105;&#111;&#110; (&#115;&#116;&#114;&#105;&#110;&#103;)
+</dd>
+</dl><a NAME="AdBlockRule.filter" ID="AdBlockRule.filter"></a>
+<h4>AdBlockRule.filter</h4>
+<b>filter</b>(<i></i>)
+<p>
+        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#102;&#105;&#108;&#116;&#101;&#114; &#115;&#116;&#114;&#105;&#110;&#103;.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+&#114;&#117;&#108;&#101; &#102;&#105;&#108;&#116;&#101;&#114; &#115;&#116;&#114;&#105;&#110;&#103; (&#115;&#116;&#114;&#105;&#110;&#103;)
+</dd>
+</dl><a NAME="AdBlockRule.isCSSRule" ID="AdBlockRule.isCSSRule"></a>
+<h4>AdBlockRule.isCSSRule</h4>
+<b>isCSSRule</b>(<i></i>)
+<p>
+        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#105;&#115; &#97; &#67;&#83;&#83; &#114;&#117;&#108;&#101;.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#67;&#83;&#83; &#114;&#117;&#108;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+</dd>
+</dl><a NAME="AdBlockRule.isEnabled" ID="AdBlockRule.isEnabled"></a>
+<h4>AdBlockRule.isEnabled</h4>
+<b>isEnabled</b>(<i></i>)
+<p>
+        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#105;&#115; &#101;&#110;&#97;&#98;&#108;&#101;&#100;.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#101;&#110;&#97;&#98;&#108;&#101;&#100; &#115;&#116;&#97;&#116;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+</dd>
+</dl><a NAME="AdBlockRule.isException" ID="AdBlockRule.isException"></a>
+<h4>AdBlockRule.isException</h4>
+<b>isException</b>(<i></i>)
+<p>
+        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#100;&#101;&#102;&#105;&#110;&#101;&#115; &#97;&#110; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97;&#110; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+</dd>
+</dl><a NAME="AdBlockRule.networkMatch" ID="AdBlockRule.networkMatch"></a>
+<h4>AdBlockRule.networkMatch</h4>
+<b>networkMatch</b>(<i>encodedUrl</i>)
+<p>
+        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#102;&#111;&#114; &#97; &#109;&#97;&#116;&#99;&#104;.
+</p><dl>
+<dt><i>encodedUrl</i></dt>
+<dd>
+&#115;&#116;&#114;&#105;&#110;&#103; &#101;&#110;&#99;&#111;&#100;&#101;&#100; &#85;&#82;&#76; &#116;&#111; &#98;&#101; &#99;&#104;&#101;&#99;&#107;&#101;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#109;&#97;&#116;&#99;&#104; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+</dd>
+</dl><a NAME="AdBlockRule.regExpPattern" ID="AdBlockRule.regExpPattern"></a>
+<h4>AdBlockRule.regExpPattern</h4>
+<b>regExpPattern</b>(<i></i>)
+<p>
+        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#114;&#101;&#103;&#101;x&#112; &#112;&#97;&#116;&#116;&#101;&#114;&#110; &#111;&#102; &#116;&#104;&#101; &#114;&#117;&#108;&#101;.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+&#114;&#101;&#103;&#101;x&#112; &#112;&#97;&#116;&#116;&#101;&#114;&#110; (&#81;&#82;&#101;&#103;&#69;x&#112;)
+</dd>
+</dl><a NAME="AdBlockRule.setEnabled" ID="AdBlockRule.setEnabled"></a>
+<h4>AdBlockRule.setEnabled</h4>
+<b>setEnabled</b>(<i>enabled</i>)
+<p>
+        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#114;&#117;&#108;&#101;'&#115; &#101;&#110;&#97;&#98;&#108;&#101;&#100; &#115;&#116;&#97;&#116;&#101;.
+</p><dl>
+<dt><i>enabled</i></dt>
+<dd>
+&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#110;&#101;w &#101;&#110;&#97;&#98;&#108;&#101;&#100; &#115;&#116;&#97;&#116;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+</dd>
+</dl><a NAME="AdBlockRule.setException" ID="AdBlockRule.setException"></a>
+<h4>AdBlockRule.setException</h4>
+<b>setException</b>(<i>exception</i>)
+<p>
+        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#114;&#117;&#108;&#101;'&#115; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#102;&#108;&#97;&#103;.
+</p><dl>
+<dt><i>exception</i></dt>
+<dd>
+&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97;&#110; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#114;&#117;&#108;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+</dd>
+</dl><a NAME="AdBlockRule.setFilter" ID="AdBlockRule.setFilter"></a>
+<h4>AdBlockRule.setFilter</h4>
+<b>setFilter</b>(<i>filter</i>)
+<p>
+        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#102;&#105;&#108;&#116;&#101;&#114; &#115;&#116;&#114;&#105;&#110;&#103;.
+</p><dl>
+<dt><i>filter</i></dt>
+<dd>
+&#114;&#117;&#108;&#101; &#102;&#105;&#108;&#116;&#101;&#114; &#115;&#116;&#114;&#105;&#110;&#103; (&#115;&#116;&#114;&#105;&#110;&#103;)
+</dd>
+</dl><a NAME="AdBlockRule.setPattern" ID="AdBlockRule.setPattern"></a>
+<h4>AdBlockRule.setPattern</h4>
+<b>setPattern</b>(<i>pattern, isRegExp</i>)
+<p>
+        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#112;&#97;&#116;&#116;&#101;&#114;&#110;.
+</p><dl>
+<dt><i>pattern</i></dt>
+<dd>
+&#115;&#116;&#114;&#105;&#110;&#103; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#105;&#110;&#103; &#116;&#104;&#101; &#112;&#97;&#116;&#116;&#101;&#114;&#110; (&#115;&#116;&#114;&#105;&#110;&#103;)
+</dd><dt><i>isRegExp</i></dt>
+<dd>
+&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#114;&#101;&#103; &#101;x&#112; &#112;&#97;&#116;&#116;&#101;&#114;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial