|
15 | 15 | # These are various helpers for "special" attributes</tt></p> |
16 | 16 | <p> |
17 | 17 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 18 | +<tr bgcolor="#aa55cc"> |
| 19 | +<td colspan=3 valign=bottom> <br> |
| 20 | +<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> |
| 21 | + |
| 22 | +<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> |
| 23 | +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="copy.html">copy</a><br> |
| 24 | +</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> |
| 25 | +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
18 | 26 | <tr bgcolor="#ee77aa"> |
19 | 27 | <td colspan=3 valign=bottom> <br> |
20 | 28 | <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> |
|
30 | 38 | <dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a> |
31 | 39 | </font></dt><dd> |
32 | 40 | <dl> |
33 | | -<dt><font face="helvetica, arial"><a href="AdvancedHTMLParser.SpecialAttributes.html#StyleAttribute">StyleAttribute</a> |
| 41 | +<dt><font face="helvetica, arial"><a href="AdvancedHTMLParser.SpecialAttributes.html#AttributeNode">AttributeNode</a> |
| 42 | +</font></dt><dt><font face="helvetica, arial"><a href="AdvancedHTMLParser.SpecialAttributes.html#AttributeNodeMap">AttributeNodeMap</a> |
| 43 | +</font></dt><dt><font face="helvetica, arial"><a href="AdvancedHTMLParser.SpecialAttributes.html#StyleAttribute">StyleAttribute</a> |
34 | 44 | </font></dt></dl> |
35 | 45 | </dd> |
36 | 46 | </dl> |
37 | 47 | <p> |
38 | 48 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
39 | 49 | <tr bgcolor="#ffc8d8"> |
40 | 50 | <td colspan=3 valign=bottom> <br> |
| 51 | +<font color="#000000" face="helvetica, arial"><a name="AttributeNode">class <strong>AttributeNode</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> |
| 52 | + |
| 53 | +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 54 | +<td colspan=2><tt><a href="#AttributeNode">AttributeNode</a> - A basic NamedNode implementing Attribute Node, mostly.<br> </tt></td></tr> |
| 55 | +<tr><td> </td> |
| 56 | +<td width="100%">Methods defined here:<br> |
| 57 | +<dl><dt><a name="AttributeNode-__eq__"><strong>__eq__</strong></a>(self, other)</dt><dd><tt>Return self==value.</tt></dd></dl> |
| 58 | + |
| 59 | +<dl><dt><a name="AttributeNode-__getattribute__"><strong>__getattribute__</strong></a>(self, name)</dt><dd><tt>Return getattr(self, name).</tt></dd></dl> |
| 60 | + |
| 61 | +<dl><dt><a name="AttributeNode-__getitem__"><strong>__getitem__</strong></a>(self, name)</dt></dl> |
| 62 | + |
| 63 | +<dl><dt><a name="AttributeNode-__hash__"><strong>__hash__</strong></a>(self)</dt><dd><tt>Return hash(self).</tt></dd></dl> |
| 64 | + |
| 65 | +<dl><dt><a name="AttributeNode-__init__"><strong>__init__</strong></a>(self, name, value, ownerElement, ownerDocument=None)</dt><dd><tt>Initialize self. See help(type(self)) for accurate signature.</tt></dd></dl> |
| 66 | + |
| 67 | +<dl><dt><a name="AttributeNode-__ne__"><strong>__ne__</strong></a>(self, other)</dt><dd><tt>Return self!=value.</tt></dd></dl> |
| 68 | + |
| 69 | +<dl><dt><a name="AttributeNode-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Return repr(self).</tt></dd></dl> |
| 70 | + |
| 71 | +<dl><dt><a name="AttributeNode-__setattr__"><strong>__setattr__</strong></a>(self, name, value)</dt><dd><tt>Implement setattr(self, name, value).</tt></dd></dl> |
| 72 | + |
| 73 | +<dl><dt><a name="AttributeNode-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>Return str(self).</tt></dd></dl> |
| 74 | + |
| 75 | +<dl><dt><a name="AttributeNode-cloneNode"><strong>cloneNode</strong></a>(self)</dt><dd><tt>cloneNode - Make a copy of this node, but not associated with the ownerElement<br> |
| 76 | + <br> |
| 77 | +@return <a href="#AttributeNode">AttributeNode</a></tt></dd></dl> |
| 78 | + |
| 79 | +<hr> |
| 80 | +Data descriptors defined here:<br> |
| 81 | +<dl><dt><strong>__dict__</strong></dt> |
| 82 | +<dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 83 | +</dl> |
| 84 | +<dl><dt><strong>__weakref__</strong></dt> |
| 85 | +<dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 86 | +</dl> |
| 87 | +<dl><dt><strong>localName</strong></dt> |
| 88 | +</dl> |
| 89 | +<dl><dt><strong>namespaceURI</strong></dt> |
| 90 | +</dl> |
| 91 | +<dl><dt><strong>nodeName</strong></dt> |
| 92 | +</dl> |
| 93 | +<dl><dt><strong>nodeType</strong></dt> |
| 94 | +<dd><tt>nodeType - Return this node type (ATTRIBUTE_NODE)</tt></dd> |
| 95 | +</dl> |
| 96 | +<dl><dt><strong>nodeValue</strong></dt> |
| 97 | +<dd><tt>nodeValue - value of this node.</tt></dd> |
| 98 | +</dl> |
| 99 | +<dl><dt><strong>prefix</strong></dt> |
| 100 | +</dl> |
| 101 | +<dl><dt><strong>specified</strong></dt> |
| 102 | +</dl> |
| 103 | +</td></tr></table> <p> |
| 104 | +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 105 | +<tr bgcolor="#ffc8d8"> |
| 106 | +<td colspan=3 valign=bottom> <br> |
| 107 | +<font color="#000000" face="helvetica, arial"><a name="AttributeNodeMap">class <strong>AttributeNodeMap</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> |
| 108 | + |
| 109 | +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 110 | +<td colspan=2><tt><a href="#AttributeNodeMap">AttributeNodeMap</a> - A map of <a href="#AttributeNode">AttributeNode</a> associated with an element.<br> |
| 111 | + <br> |
| 112 | + Not very useful, I've never actually seen the "Node" interface used in practice,<br> |
| 113 | + but here just incase...<br> |
| 114 | + <br> |
| 115 | + You probably want to just use the normal getAttribute and setAttribute on nodes... that way makes sense.<br> |
| 116 | + This way really doesn't make a whole lot of sense.<br> </tt></td></tr> |
| 117 | +<tr><td> </td> |
| 118 | +<td width="100%">Methods defined here:<br> |
| 119 | +<dl><dt><a name="AttributeNodeMap-X__setitem__"><strong>X__setitem__</strong></a>(self, name, value)</dt></dl> |
| 120 | + |
| 121 | +<dl><dt><a name="AttributeNodeMap-__getattribute__"><strong>__getattribute__</strong></a>(self, name)</dt><dd><tt>Return getattr(self, name).</tt></dd></dl> |
| 122 | + |
| 123 | +<dl><dt><a name="AttributeNodeMap-__getitem__"><strong>__getitem__</strong></a>(self, name)</dt></dl> |
| 124 | + |
| 125 | +<dl><dt><a name="AttributeNodeMap-__init__"><strong>__init__</strong></a>(self, attributesDict, ownerElement, ownerDocument=None)</dt><dd><tt>Initialize self. See help(type(self)) for accurate signature.</tt></dd></dl> |
| 126 | + |
| 127 | +<dl><dt><a name="AttributeNodeMap-__iter__"><strong>__iter__</strong></a>(self)</dt></dl> |
| 128 | + |
| 129 | +<dl><dt><a name="AttributeNodeMap-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>Return str(self).</tt></dd></dl> |
| 130 | + |
| 131 | +<dl><dt><a name="AttributeNodeMap-getNamedItem"><strong>getNamedItem</strong></a>(self, name)</dt></dl> |
| 132 | + |
| 133 | +<dl><dt><a name="AttributeNodeMap-item"><strong>item</strong></a> = <a href="#AttributeNodeMap-getNamedItem">getNamedItem</a>(self, name)</dt></dl> |
| 134 | + |
| 135 | +<dl><dt><a name="AttributeNodeMap-setNamedItem"><strong>setNamedItem</strong></a>(self, *args, **kwargs)</dt></dl> |
| 136 | + |
| 137 | +<hr> |
| 138 | +Data descriptors defined here:<br> |
| 139 | +<dl><dt><strong>__dict__</strong></dt> |
| 140 | +<dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 141 | +</dl> |
| 142 | +<dl><dt><strong>__weakref__</strong></dt> |
| 143 | +<dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 144 | +</dl> |
| 145 | +</td></tr></table> <p> |
| 146 | +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 147 | +<tr bgcolor="#ffc8d8"> |
| 148 | +<td colspan=3 valign=bottom> <br> |
41 | 149 | <font color="#000000" face="helvetica, arial"><a name="SpecialAttributesDict">class <strong>SpecialAttributesDict</strong></a>(<a href="builtins.html#dict">builtins.dict</a>)</font></td></tr> |
42 | 150 |
|
43 | 151 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
|
243 | 351 |
|
244 | 352 | <dl><dt><strong>__hash__</strong> = None</dl> |
245 | 353 |
|
246 | | -</td></tr></table></td></tr></table> |
| 354 | +</td></tr></table></td></tr></table><p> |
| 355 | +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 356 | +<tr bgcolor="#55aa55"> |
| 357 | +<td colspan=3 valign=bottom> <br> |
| 358 | +<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> |
| 359 | + |
| 360 | +<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> |
| 361 | +<td width="100%"><strong>__all__</strong> = ('SpecialAttributesDict', 'AttributeNode', 'AttributeNodeMap', 'StyleAttribute')</td></tr></table> |
247 | 362 | </body></html> |
0 commit comments