PageRenderTime 49ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 1ms

/public_html/apidocs/pymine.beautifulsoup.BeautifulSoup.MinimalSoup.html

http://pymine.googlecode.com/
HTML | 555 lines | 366 code | 189 blank | 0 comment | 0 complexity | a17e2d5c96dd52d9551c15fd3dcbb472 MD5 | raw file
Possible License(s): Apache-2.0, LGPL-2.1
  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "DTD/xhtml1-strict.dtd">
  4. <html>
  5. <head>
  6. <title>API docs for &ldquo;pymine.beautifulsoup.BeautifulSoup.MinimalSoup&rdquo;</title>
  7. <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
  8. <link href="apidocs.css" type="text/css" rel="stylesheet" />
  9. </head>
  10. <body>
  11. <h1 class="class">Class p.b.B.MinimalSoup(<a href="pymine.beautifulsoup.BeautifulSoup.BeautifulSoup.html">BeautifulSoup</a>):</h1>
  12. <p>
  13. <span id="part">Part of <a href="pymine.html">pymine</a>.<a href="pymine.beautifulsoup.html">beautifulsoup</a>.<a href="pymine.beautifulsoup.BeautifulSoup.html">BeautifulSoup</a></span>
  14. <a href="classIndex.html#pymine.beautifulsoup.BeautifulSoup.MinimalSoup">View In Hierarchy</a>
  15. </p>
  16. <div>
  17. <p>Known subclasses: <a href="pymine.beautifulsoup.BeautifulSoup.RobustInsanelyWackAssHTMLParser.html">pymine.beautifulsoup.BeautifulSoup.RobustInsanelyWackAssHTMLParser</a></p>
  18. </div>
  19. <div>The MinimalSoup class is for parsing HTML that contains pathologically
  20. bad markup. It makes no assumptions about tag nesting, but it does know
  21. which tags are self-closing, that &lt;script&gt; tags contain Javascript
  22. and should not be parsed, that META tags may contain encoding information,
  23. and so on.</p>
  24. <p>This also makes it better for subclassing than BeautifulStoneSoup or
  25. BeautifulSoup.<table class="fieldTable"></table></div>
  26. <div id="splitTables">
  27. <p>
  28. Inherited from <a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html">BeautifulStoneSoup</a> (via <a href="pymine.beautifulsoup.BeautifulSoup.BeautifulSoup.html">BeautifulSoup</a>):
  29. </p>
  30. <table class="children sortable" id="id74">
  31. <tr class="basemethod">
  32. <td>Method</td>
  33. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#convert_charref">convert_charref</a></td>
  34. <td><span>This method fixes a bug in Python's SGMLParser.</span></td>
  35. </tr><tr class="basemethod">
  36. <td>Method</td>
  37. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#_feed">_feed</a></td>
  38. <td><span class="undocumented">Undocumented</span></td>
  39. </tr><tr class="basemethod">
  40. <td>Method</td>
  41. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#__getattr__">__getattr__</a></td>
  42. <td><span>This method routes method call requests to either the SGMLParser</span></td>
  43. </tr><tr class="basemethod">
  44. <td>Method</td>
  45. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#isSelfClosingTag">isSelfClosingTag</a></td>
  46. <td><span>Returns true iff the given string is the name of a</span></td>
  47. </tr><tr class="basemethod">
  48. <td>Method</td>
  49. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#reset">reset</a></td>
  50. <td><span class="undocumented">Undocumented</span></td>
  51. </tr><tr class="basemethod">
  52. <td>Method</td>
  53. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#popTag">popTag</a></td>
  54. <td><span class="undocumented">Undocumented</span></td>
  55. </tr><tr class="basemethod">
  56. <td>Method</td>
  57. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#pushTag">pushTag</a></td>
  58. <td><span class="undocumented">Undocumented</span></td>
  59. </tr><tr class="basemethod">
  60. <td>Method</td>
  61. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#endData">endData</a></td>
  62. <td><span class="undocumented">Undocumented</span></td>
  63. </tr><tr class="basemethod">
  64. <td>Method</td>
  65. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#_popToTag">_popToTag</a></td>
  66. <td><span>Pops the tag stack up to and including the most recent</span></td>
  67. </tr><tr class="basemethod">
  68. <td>Method</td>
  69. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#_smartPop">_smartPop</a></td>
  70. <td><span>We need to pop up to the previous tag of this type, unless</span></td>
  71. </tr><tr class="basemethod">
  72. <td>Method</td>
  73. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#unknown_starttag">unknown_starttag</a></td>
  74. <td><span class="undocumented">Undocumented</span></td>
  75. </tr><tr class="basemethod">
  76. <td>Method</td>
  77. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#unknown_endtag">unknown_endtag</a></td>
  78. <td><span class="undocumented">Undocumented</span></td>
  79. </tr><tr class="basemethod">
  80. <td>Method</td>
  81. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#handle_data">handle_data</a></td>
  82. <td><span class="undocumented">Undocumented</span></td>
  83. </tr><tr class="basemethod">
  84. <td>Method</td>
  85. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#_toStringSubclass">_toStringSubclass</a></td>
  86. <td><span>Adds a certain piece of text to the tree as a NavigableString</span></td>
  87. </tr><tr class="basemethod">
  88. <td>Method</td>
  89. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#handle_pi">handle_pi</a></td>
  90. <td><span>Handle a processing instruction as a ProcessingInstruction</span></td>
  91. </tr><tr class="basemethod">
  92. <td>Method</td>
  93. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#handle_comment">handle_comment</a></td>
  94. <td><span>Handle comments as Comment objects.</span></td>
  95. </tr><tr class="basemethod">
  96. <td>Method</td>
  97. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#handle_charref">handle_charref</a></td>
  98. <td><span>Handle character references as data.</span></td>
  99. </tr><tr class="basemethod">
  100. <td>Method</td>
  101. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#handle_entityref">handle_entityref</a></td>
  102. <td><span>Handle entity references as data, possibly converting known</span></td>
  103. </tr><tr class="basemethod">
  104. <td>Method</td>
  105. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#handle_decl">handle_decl</a></td>
  106. <td><span>Handle DOCTYPEs and the like as Declaration objects.</span></td>
  107. </tr><tr class="basemethod">
  108. <td>Method</td>
  109. <td><a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html#parse_declaration">parse_declaration</a></td>
  110. <td><span>Treat a bogus SGML declaration as raw data. Treat a CDATA</span></td>
  111. </tr>
  112. </table>
  113. <p>
  114. Inherited from <a href="pymine.beautifulsoup.BeautifulSoup.Tag.html">Tag</a> (via <a href="pymine.beautifulsoup.BeautifulSoup.BeautifulSoup.html">BeautifulSoup</a>, <a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html">BeautifulStoneSoup</a>):
  115. </p>
  116. <table class="children sortable" id="id75">
  117. <tr class="basemethod">
  118. <td>Method</td>
  119. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#_invert">_invert</a></td>
  120. <td><span>Cheap function to invert a hash.</span></td>
  121. </tr><tr class="basemethod">
  122. <td>Method</td>
  123. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#_convertEntities">_convertEntities</a></td>
  124. <td><span>Used in a call to re.sub to replace HTML, XML, and numeric</span></td>
  125. </tr><tr class="basemethod">
  126. <td>Method</td>
  127. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#getString">getString</a></td>
  128. <td><span class="undocumented">Undocumented</span></td>
  129. </tr><tr class="basemethod">
  130. <td>Method</td>
  131. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#setString">setString</a></td>
  132. <td><span>Replace the contents of the tag with a string</span></td>
  133. </tr><tr class="basemethod">
  134. <td>Method</td>
  135. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#getText">getText</a></td>
  136. <td><span class="undocumented">Undocumented</span></td>
  137. </tr><tr class="basemethod">
  138. <td>Method</td>
  139. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#get">get</a></td>
  140. <td><span>Returns the value of the 'key' attribute for the tag, or</span></td>
  141. </tr><tr class="basemethod">
  142. <td>Method</td>
  143. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#clear">clear</a></td>
  144. <td><span>Extract all children.</span></td>
  145. </tr><tr class="basemethod">
  146. <td>Method</td>
  147. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#index">index</a></td>
  148. <td><span class="undocumented">Undocumented</span></td>
  149. </tr><tr class="basemethod">
  150. <td>Method</td>
  151. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#has_key">has_key</a></td>
  152. <td><span class="undocumented">Undocumented</span></td>
  153. </tr><tr class="basemethod">
  154. <td>Method</td>
  155. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#__getitem__">__getitem__</a></td>
  156. <td><span>tag[key] returns the value of the 'key' attribute for the tag,</span></td>
  157. </tr><tr class="basemethod">
  158. <td>Method</td>
  159. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#__iter__">__iter__</a></td>
  160. <td><span>Iterating over a tag iterates over its contents.</span></td>
  161. </tr><tr class="basemethod">
  162. <td>Method</td>
  163. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#__len__">__len__</a></td>
  164. <td><span>The length of a tag is the length of its list of contents.</span></td>
  165. </tr><tr class="basemethod">
  166. <td>Method</td>
  167. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#__contains__">__contains__</a></td>
  168. <td><span class="undocumented">Undocumented</span></td>
  169. </tr><tr class="basemethod">
  170. <td>Method</td>
  171. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#__nonzero__">__nonzero__</a></td>
  172. <td><span>A tag is non-None even if it has no contents.</span></td>
  173. </tr><tr class="basemethod">
  174. <td>Method</td>
  175. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#__setitem__">__setitem__</a></td>
  176. <td><span>Setting tag[key] sets the value of the 'key' attribute for the</span></td>
  177. </tr><tr class="basemethod">
  178. <td>Method</td>
  179. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#__delitem__">__delitem__</a></td>
  180. <td><span>Deleting tag[key] deletes all 'key' attributes for the tag.</span></td>
  181. </tr><tr class="basemethod">
  182. <td>Method</td>
  183. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#__call__">__call__</a></td>
  184. <td><span>Calling a tag like a function is the same as calling its</span></td>
  185. </tr><tr class="basemethod">
  186. <td>Method</td>
  187. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#__eq__">__eq__</a></td>
  188. <td><span>Returns true iff this tag has the same name, the same attributes,</span></td>
  189. </tr><tr class="basemethod">
  190. <td>Method</td>
  191. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#__ne__">__ne__</a></td>
  192. <td><span>Returns true iff this tag is not identical to the other tag,</span></td>
  193. </tr><tr class="basemethod">
  194. <td>Method</td>
  195. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#__repr__">__repr__</a></td>
  196. <td><span>Renders this tag as a string.</span></td>
  197. </tr><tr class="basemethod">
  198. <td>Method</td>
  199. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#__unicode__">__unicode__</a></td>
  200. <td><span class="undocumented">Undocumented</span></td>
  201. </tr><tr class="basemethod">
  202. <td>Method</td>
  203. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#_sub_entity">_sub_entity</a></td>
  204. <td><span>Used with a regular expression to substitute the</span></td>
  205. </tr><tr class="basemethod">
  206. <td>Method</td>
  207. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#__str__">__str__</a></td>
  208. <td><span>Returns a string or Unicode representation of this tag and</span></td>
  209. </tr><tr class="basemethod">
  210. <td>Method</td>
  211. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#decompose">decompose</a></td>
  212. <td><span>Recursively destroys the contents of this tree.</span></td>
  213. </tr><tr class="basemethod">
  214. <td>Method</td>
  215. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#prettify">prettify</a></td>
  216. <td><span class="undocumented">Undocumented</span></td>
  217. </tr><tr class="basemethod">
  218. <td>Method</td>
  219. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#renderContents">renderContents</a></td>
  220. <td><span>Renders the contents of this tag as a string in the given</span></td>
  221. </tr><tr class="basemethod">
  222. <td>Method</td>
  223. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#find">find</a></td>
  224. <td><span>Return only the first child of this Tag matching the given</span></td>
  225. </tr><tr class="basemethod">
  226. <td>Method</td>
  227. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#findAll">findAll</a></td>
  228. <td><span>Extracts a list of Tag objects that match the given</span></td>
  229. </tr><tr class="basemethod">
  230. <td>Method</td>
  231. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#fetchText">fetchText</a></td>
  232. <td><span class="undocumented">Undocumented</span></td>
  233. </tr><tr class="basemethod">
  234. <td>Method</td>
  235. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#firstText">firstText</a></td>
  236. <td><span class="undocumented">Undocumented</span></td>
  237. </tr><tr class="basemethod">
  238. <td>Method</td>
  239. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#_getAttrMap">_getAttrMap</a></td>
  240. <td><span>Initializes a map representation of this tag's attributes,</span></td>
  241. </tr><tr class="basemethod">
  242. <td>Method</td>
  243. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#childGenerator">childGenerator</a></td>
  244. <td><span class="undocumented">Undocumented</span></td>
  245. </tr><tr class="basemethod">
  246. <td>Method</td>
  247. <td><a href="pymine.beautifulsoup.BeautifulSoup.Tag.html#recursiveChildGenerator">recursiveChildGenerator</a></td>
  248. <td><span class="undocumented">Undocumented</span></td>
  249. </tr>
  250. </table>
  251. <p>
  252. Inherited from <a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html">PageElement</a> (via <a href="pymine.beautifulsoup.BeautifulSoup.BeautifulSoup.html">BeautifulSoup</a>, <a href="pymine.beautifulsoup.BeautifulSoup.BeautifulStoneSoup.html">BeautifulStoneSoup</a>, <a href="pymine.beautifulsoup.BeautifulSoup.Tag.html">Tag</a>):
  253. </p>
  254. <table class="children sortable" id="id76">
  255. <tr class="basemethod">
  256. <td>Method</td>
  257. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#setup">setup</a></td>
  258. <td><span>Sets up the initial relations between this element and</span></td>
  259. </tr><tr class="basemethod">
  260. <td>Method</td>
  261. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#replaceWith">replaceWith</a></td>
  262. <td><span class="undocumented">Undocumented</span></td>
  263. </tr><tr class="basemethod">
  264. <td>Method</td>
  265. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#replaceWithChildren">replaceWithChildren</a></td>
  266. <td><span class="undocumented">Undocumented</span></td>
  267. </tr><tr class="basemethod">
  268. <td>Method</td>
  269. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#extract">extract</a></td>
  270. <td><span>Destructively rips this element out of the tree.</span></td>
  271. </tr><tr class="basemethod">
  272. <td>Method</td>
  273. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#_lastRecursiveChild">_lastRecursiveChild</a></td>
  274. <td><span>Finds the last element beneath this object to be parsed.</span></td>
  275. </tr><tr class="basemethod">
  276. <td>Method</td>
  277. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#insert">insert</a></td>
  278. <td><span class="undocumented">Undocumented</span></td>
  279. </tr><tr class="basemethod">
  280. <td>Method</td>
  281. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#append">append</a></td>
  282. <td><span>Appends the given tag to the contents of this tag.</span></td>
  283. </tr><tr class="basemethod">
  284. <td>Method</td>
  285. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#findNext">findNext</a></td>
  286. <td><span>Returns the first item that matches the given criteria and</span></td>
  287. </tr><tr class="basemethod">
  288. <td>Method</td>
  289. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#findAllNext">findAllNext</a></td>
  290. <td><span>Returns all items that match the given criteria and appear</span></td>
  291. </tr><tr class="basemethod">
  292. <td>Method</td>
  293. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#findNextSibling">findNextSibling</a></td>
  294. <td><span>Returns the closest sibling to this Tag that matches the</span></td>
  295. </tr><tr class="basemethod">
  296. <td>Method</td>
  297. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#findNextSiblings">findNextSiblings</a></td>
  298. <td><span>Returns the siblings of this Tag that match the given</span></td>
  299. </tr><tr class="basemethod">
  300. <td>Method</td>
  301. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#findPrevious">findPrevious</a></td>
  302. <td><span>Returns the first item that matches the given criteria and</span></td>
  303. </tr><tr class="basemethod">
  304. <td>Method</td>
  305. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#findAllPrevious">findAllPrevious</a></td>
  306. <td><span>Returns all items that match the given criteria and appear</span></td>
  307. </tr><tr class="basemethod">
  308. <td>Method</td>
  309. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#findPreviousSibling">findPreviousSibling</a></td>
  310. <td><span>Returns the closest sibling to this Tag that matches the</span></td>
  311. </tr><tr class="basemethod">
  312. <td>Method</td>
  313. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#findPreviousSiblings">findPreviousSiblings</a></td>
  314. <td><span>Returns the siblings of this Tag that match the given</span></td>
  315. </tr><tr class="basemethod">
  316. <td>Method</td>
  317. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#findParent">findParent</a></td>
  318. <td><span>Returns the closest parent of this Tag that matches the given</span></td>
  319. </tr><tr class="basemethod">
  320. <td>Method</td>
  321. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#findParents">findParents</a></td>
  322. <td><span>Returns the parents of this Tag that match the given</span></td>
  323. </tr><tr class="basemethod">
  324. <td>Method</td>
  325. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#_findOne">_findOne</a></td>
  326. <td><span class="undocumented">Undocumented</span></td>
  327. </tr><tr class="basemethod">
  328. <td>Method</td>
  329. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#_findAll">_findAll</a></td>
  330. <td><span>Iterates over a generator looking for things that match.</span></td>
  331. </tr><tr class="basemethod">
  332. <td>Method</td>
  333. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#nextGenerator">nextGenerator</a></td>
  334. <td><span class="undocumented">Undocumented</span></td>
  335. </tr><tr class="basemethod">
  336. <td>Method</td>
  337. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#nextSiblingGenerator">nextSiblingGenerator</a></td>
  338. <td><span class="undocumented">Undocumented</span></td>
  339. </tr><tr class="basemethod">
  340. <td>Method</td>
  341. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#previousGenerator">previousGenerator</a></td>
  342. <td><span class="undocumented">Undocumented</span></td>
  343. </tr><tr class="basemethod">
  344. <td>Method</td>
  345. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#previousSiblingGenerator">previousSiblingGenerator</a></td>
  346. <td><span class="undocumented">Undocumented</span></td>
  347. </tr><tr class="basemethod">
  348. <td>Method</td>
  349. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#parentGenerator">parentGenerator</a></td>
  350. <td><span class="undocumented">Undocumented</span></td>
  351. </tr><tr class="basemethod">
  352. <td>Method</td>
  353. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#substituteEncoding">substituteEncoding</a></td>
  354. <td><span class="undocumented">Undocumented</span></td>
  355. </tr><tr class="basemethod">
  356. <td>Method</td>
  357. <td><a href="pymine.beautifulsoup.BeautifulSoup.PageElement.html#toEncoding">toEncoding</a></td>
  358. <td><span>Encodes an object to a string in some encoding, or to Unicode.</span></td>
  359. </tr>
  360. </table>
  361. </div>
  362. <address>
  363. <a href="index.html">API Documentation</a> for pymine, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2010-04-07 23:15:24.
  364. </address>
  365. </body>
  366. </html>