| |
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <html><head><title>Python: package atom</title> |
| </head><body bgcolor="#f0f0f8"> |
| |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> |
| <tr bgcolor="#7799ee"> |
| <td valign=bottom> <br> |
| <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>atom</strong></big></big></font></td |
| ><td align=right valign=bottom |
| ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/local/google/home/afshar/src/external-gdata-release/google3/src/atom/__init__.py">/usr/local/google/home/afshar/src/external-gdata-release/google3/src/atom/__init__.py</a></font></td></tr></table> |
| <p><tt>Contains classes representing Atom elements.<br> |
| <br> |
| Module objective: provide data classes for Atom constructs. These classes hide<br> |
| the XML-ness of Atom and provide a set of native Python classes to interact<br> |
| with.<br> |
| <br> |
| Conversions to and from XML should only be necessary when the Atom classes<br> |
| "touch the wire" and are sent over HTTP. For this reason this module<br> |
| provides methods and functions to convert Atom classes to and from strings.<br> |
| <br> |
| For more information on the Atom data model, see <a href="http://www.rfc-editor.org/rfc/rfc4287.txt">RFC 4287</a><br> |
| (<a href="http://www.ietf.org/rfc/rfc4287.txt">http://www.ietf.org/rfc/rfc4287.txt</a>)<br> |
| <br> |
| <a href="#AtomBase">AtomBase</a>: A foundation class on which Atom classes are built. It<br> |
| handles the parsing of attributes and children which are common to all<br> |
| Atom classes. By default, the <a href="#AtomBase">AtomBase</a> class translates all XML child<br> |
| nodes into ExtensionElements.<br> |
| <br> |
| <a href="#ExtensionElement">ExtensionElement</a>: Atom allows Atom objects to contain XML which is not part<br> |
| of the Atom specification, these are called extension elements. If a<br> |
| classes parser encounters an unexpected XML construct, it is translated<br> |
| into an <a href="#ExtensionElement">ExtensionElement</a> instance. <a href="#ExtensionElement">ExtensionElement</a> is designed to fully<br> |
| capture the information in the XML. Child nodes in an XML extension are<br> |
| turned into ExtensionElements as well.</tt></p> |
| <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#aa55cc"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#ffffff" face="helvetica, arial"><big><strong>Package Contents</strong></big></font></td></tr> |
| |
| <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> |
| <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="atom.auth.html">auth</a><br> |
| <a href="atom.client.html">client</a><br> |
| <a href="atom.core.html">core</a><br> |
| <a href="atom.data.html">data</a><br> |
| </td><td width="25%" valign=top><a href="atom.http.html">http</a><br> |
| <a href="atom.http_core.html">http_core</a><br> |
| <a href="atom.http_interface.html">http_interface</a><br> |
| <a href="atom.mock_http.html">mock_http</a><br> |
| </td><td width="25%" valign=top><a href="atom.mock_http_core.html">mock_http_core</a><br> |
| <a href="atom.mock_service.html">mock_service</a><br> |
| <a href="atom.service.html">service</a><br> |
| <a href="atom.token_store.html">token_store</a><br> |
| </td><td width="25%" valign=top><a href="atom.url.html">url</a><br> |
| </td></tr></table></td></tr></table><p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ee77aa"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> |
| |
| <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> |
| <td width="100%"><dl> |
| <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a> |
| </font></dt><dd> |
| <dl> |
| <dt><font face="helvetica, arial"><a href="atom.html#ExtensionContainer">ExtensionContainer</a> |
| </font></dt><dd> |
| <dl> |
| <dt><font face="helvetica, arial"><a href="atom.html#AtomBase">AtomBase</a> |
| </font></dt><dd> |
| <dl> |
| <dt><font face="helvetica, arial"><a href="atom.html#Category">Category</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#Control">Control</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#Date">Date</a> |
| </font></dt><dd> |
| <dl> |
| <dt><font face="helvetica, arial"><a href="atom.html#Published">Published</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#Updated">Updated</a> |
| </font></dt></dl> |
| </dd> |
| <dt><font face="helvetica, arial"><a href="atom.html#Draft">Draft</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#Email">Email</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#FeedEntryParent">FeedEntryParent</a>(<a href="atom.html#AtomBase">AtomBase</a>, <a href="atom.html#LinkFinder">LinkFinder</a>) |
| </font></dt><dd> |
| <dl> |
| <dt><font face="helvetica, arial"><a href="atom.html#Entry">Entry</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#Source">Source</a> |
| </font></dt><dd> |
| <dl> |
| <dt><font face="helvetica, arial"><a href="atom.html#Feed">Feed</a> |
| </font></dt></dl> |
| </dd> |
| </dl> |
| </dd> |
| <dt><font face="helvetica, arial"><a href="atom.html#Generator">Generator</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#Icon">Icon</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#Id">Id</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#Link">Link</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#Logo">Logo</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#Name">Name</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#Person">Person</a> |
| </font></dt><dd> |
| <dl> |
| <dt><font face="helvetica, arial"><a href="atom.html#Author">Author</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#Contributor">Contributor</a> |
| </font></dt></dl> |
| </dd> |
| <dt><font face="helvetica, arial"><a href="atom.html#Text">Text</a> |
| </font></dt><dd> |
| <dl> |
| <dt><font face="helvetica, arial"><a href="atom.html#Content">Content</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#Rights">Rights</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#Subtitle">Subtitle</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#Summary">Summary</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#Title">Title</a> |
| </font></dt></dl> |
| </dd> |
| <dt><font face="helvetica, arial"><a href="atom.html#Uri">Uri</a> |
| </font></dt></dl> |
| </dd> |
| </dl> |
| </dd> |
| <dt><font face="helvetica, arial"><a href="atom.html#ExtensionElement">ExtensionElement</a> |
| </font></dt><dt><font face="helvetica, arial"><a href="atom.html#LinkFinder">LinkFinder</a> |
| </font></dt></dl> |
| </dd> |
| </dl> |
| <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="AtomBase">class <strong>AtomBase</strong></a>(<a href="atom.html#ExtensionContainer">ExtensionContainer</a>)</font></td></tr> |
| |
| <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="AtomBase-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="AtomBase-__init__"><strong>__init__</strong></a>(*args, **kwargs)</dt><dd><tt># The deprecated_function wraps the actual call to f.</tt></dd></dl> |
| |
| <dl><dt><a name="AtomBase-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="AtomBase-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Author">class <strong>Author</strong></a>(<a href="atom.html#Person">Person</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:author element<br> |
| <br> |
| An author is a required element in <a href="#Feed">Feed</a>.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Author">Author</a></dd> |
| <dd><a href="atom.html#Person">Person</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Author-__init__"><strong>__init__</strong></a>(self, name<font color="#909090">=None</font>, email<font color="#909090">=None</font>, uri<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>, text<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Author">Author</a><br> |
| <br> |
| Args:<br> |
| name: <a href="#Name">Name</a><br> |
| email: <a href="#Email">Email</a><br> |
| uri: <a href="#Uri">Uri</a><br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs<br> |
| text: str The text data in the this element</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Author-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Author-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Author-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Category">class <strong>Category</strong></a>(<a href="atom.html#AtomBase">AtomBase</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:category element<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Category">Category</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Category-__init__"><strong>__init__</strong></a>(self, term<font color="#909090">=None</font>, scheme<font color="#909090">=None</font>, label<font color="#909090">=None</font>, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Category">Category</a><br> |
| <br> |
| Args:<br> |
| term: str<br> |
| scheme: str<br> |
| label: str<br> |
| text: str The text data in the this element<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Category-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Category-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Category-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Content">class <strong>Content</strong></a>(<a href="atom.html#Text">Text</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:content element<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Content">Content</a></dd> |
| <dd><a href="atom.html#Text">Text</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Content-__init__"><strong>__init__</strong></a>(self, content_type<font color="#909090">=None</font>, src<font color="#909090">=None</font>, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Content">Content</a><br> |
| <br> |
| Args:<br> |
| content_type: string<br> |
| src: string<br> |
| text: str The text data in the this element<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Content-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Content-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Content-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Contributor">class <strong>Contributor</strong></a>(<a href="atom.html#Person">Person</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:contributor element<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Contributor">Contributor</a></dd> |
| <dd><a href="atom.html#Person">Person</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Contributor-__init__"><strong>__init__</strong></a>(self, name<font color="#909090">=None</font>, email<font color="#909090">=None</font>, uri<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>, text<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Contributor">Contributor</a><br> |
| <br> |
| Args:<br> |
| name: <a href="#Name">Name</a><br> |
| email: <a href="#Email">Email</a><br> |
| uri: <a href="#Uri">Uri</a><br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs<br> |
| text: str The text data in the this element</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Contributor-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Contributor-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Contributor-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Control">class <strong>Control</strong></a>(<a href="atom.html#AtomBase">AtomBase</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The app:control element indicating restrictions on publication.<br> |
| <br> |
| The APP control element may contain a draft element indicating whether or<br> |
| not this entry should be publicly available.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Control">Control</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Control-__init__"><strong>__init__</strong></a>(self, draft<font color="#909090">=None</font>, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for app:control</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Control-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Control-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Control-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Date">class <strong>Date</strong></a>(<a href="atom.html#AtomBase">AtomBase</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>A parent class for atom:updated, published, etc.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Date">Date</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Date-__init__"><strong>__init__</strong></a>(self, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Date-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Date-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Date-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Draft">class <strong>Draft</strong></a>(<a href="atom.html#AtomBase">AtomBase</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The app:draft element which indicates if this entry should be public.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Draft">Draft</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Draft-__init__"><strong>__init__</strong></a>(self, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for app:draft<br> |
| <br> |
| Args:<br> |
| text: str The text data in the this element<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Draft-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Draft-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Draft-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Email">class <strong>Email</strong></a>(<a href="atom.html#AtomBase">AtomBase</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:email element<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Email">Email</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Email-__init__"><strong>__init__</strong></a>(self, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Email">Email</a><br> |
| <br> |
| Args:<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs<br> |
| text: str The text data in the this element</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Email-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Email-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Email-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Entry">class <strong>Entry</strong></a>(<a href="atom.html#FeedEntryParent">FeedEntryParent</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:entry element<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Entry">Entry</a></dd> |
| <dd><a href="atom.html#FeedEntryParent">FeedEntryParent</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="atom.html#LinkFinder">LinkFinder</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Entry-__init__"><strong>__init__</strong></a>(*args, **kwargs)</dt><dd><tt># The deprecated_function wraps the actual call to f.</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Entry-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Entry-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Entry-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| <hr> |
| Methods inherited from <a href="atom.html#LinkFinder">LinkFinder</a>:<br> |
| <dl><dt><a name="Entry-GetAlternateLink"><strong>GetAlternateLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="Entry-GetEditLink"><strong>GetEditLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="Entry-GetEditMediaLink"><strong>GetEditMediaLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="Entry-GetLicenseLink"><strong>GetLicenseLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="Entry-GetNextLink"><strong>GetNextLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="Entry-GetSelfLink"><strong>GetSelfLink</strong></a>(self)</dt><dd><tt>Find the first link with rel set to 'self'<br> |
| <br> |
| Returns:<br> |
| An atom.<a href="#Link">Link</a> or none if none of the links had rel equal to 'self'</tt></dd></dl> |
| |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="ExtensionContainer">class <strong>ExtensionContainer</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> |
| |
| <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
| <td width="100%">Methods defined here:<br> |
| <dl><dt><a name="ExtensionContainer-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <dl><dt><a name="ExtensionContainer-__init__"><strong>__init__</strong></a>(*args, **kwargs)</dt><dd><tt># The deprecated_function wraps the actual call to f.</tt></dd></dl> |
| |
| <hr> |
| Data descriptors defined here:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="ExtensionElement">class <strong>ExtensionElement</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>Represents extra XML elements contained in Atom classes.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%">Methods defined here:<br> |
| <dl><dt><a name="ExtensionElement-FindChildren"><strong>FindChildren</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches child nodes for objects with the desired tag/namespace.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all children in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <dl><dt><a name="ExtensionElement-ToString"><strong>ToString</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="ExtensionElement-__init__"><strong>__init__</strong></a>(self, tag, namespace<font color="#909090">=None</font>, attributes<font color="#909090">=None</font>, children<font color="#909090">=None</font>, text<font color="#909090">=None</font>)</dt><dd><tt>Constructor for EtensionElement<br> |
| <br> |
| Args:<br> |
| namespace: string (optional) The XML namespace for this element.<br> |
| tag: string (optional) The tag (without the namespace qualifier) for<br> |
| this element. To reconstruct the full qualified name of the element,<br> |
| combine this tag with the namespace.<br> |
| attributes: dict (optinal) The attribute value string pairs for the XML<br> |
| attributes of this element.<br> |
| children: list (optional) A list of ExtensionElements which represent<br> |
| the XML child nodes of this element.</tt></dd></dl> |
| |
| <hr> |
| Data descriptors defined here:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Feed">class <strong>Feed</strong></a>(<a href="atom.html#Source">Source</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:feed element<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Feed">Feed</a></dd> |
| <dd><a href="atom.html#Source">Source</a></dd> |
| <dd><a href="atom.html#FeedEntryParent">FeedEntryParent</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="atom.html#LinkFinder">LinkFinder</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Feed-__init__"><strong>__init__</strong></a>(*args, **kwargs)</dt><dd><tt># The deprecated_function wraps the actual call to f.</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Feed-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Feed-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Feed-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| <hr> |
| Methods inherited from <a href="atom.html#LinkFinder">LinkFinder</a>:<br> |
| <dl><dt><a name="Feed-GetAlternateLink"><strong>GetAlternateLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="Feed-GetEditLink"><strong>GetEditLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="Feed-GetEditMediaLink"><strong>GetEditMediaLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="Feed-GetLicenseLink"><strong>GetLicenseLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="Feed-GetNextLink"><strong>GetNextLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="Feed-GetSelfLink"><strong>GetSelfLink</strong></a>(self)</dt><dd><tt>Find the first link with rel set to 'self'<br> |
| <br> |
| Returns:<br> |
| An atom.<a href="#Link">Link</a> or none if none of the links had rel equal to 'self'</tt></dd></dl> |
| |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="FeedEntryParent">class <strong>FeedEntryParent</strong></a>(<a href="atom.html#AtomBase">AtomBase</a>, <a href="atom.html#LinkFinder">LinkFinder</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>A super class for atom:feed and entry, contains shared attributes<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#FeedEntryParent">FeedEntryParent</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="atom.html#LinkFinder">LinkFinder</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="FeedEntryParent-__init__"><strong>__init__</strong></a>(self, author<font color="#909090">=None</font>, category<font color="#909090">=None</font>, contributor<font color="#909090">=None</font>, atom_id<font color="#909090">=None</font>, link<font color="#909090">=None</font>, rights<font color="#909090">=None</font>, title<font color="#909090">=None</font>, updated<font color="#909090">=None</font>, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="FeedEntryParent-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="FeedEntryParent-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="FeedEntryParent-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| <hr> |
| Methods inherited from <a href="atom.html#LinkFinder">LinkFinder</a>:<br> |
| <dl><dt><a name="FeedEntryParent-GetAlternateLink"><strong>GetAlternateLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="FeedEntryParent-GetEditLink"><strong>GetEditLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="FeedEntryParent-GetEditMediaLink"><strong>GetEditMediaLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="FeedEntryParent-GetLicenseLink"><strong>GetLicenseLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="FeedEntryParent-GetNextLink"><strong>GetNextLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="FeedEntryParent-GetSelfLink"><strong>GetSelfLink</strong></a>(self)</dt><dd><tt>Find the first link with rel set to 'self'<br> |
| <br> |
| Returns:<br> |
| An atom.<a href="#Link">Link</a> or none if none of the links had rel equal to 'self'</tt></dd></dl> |
| |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Generator">class <strong>Generator</strong></a>(<a href="atom.html#AtomBase">AtomBase</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:generator element<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Generator">Generator</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Generator-__init__"><strong>__init__</strong></a>(self, uri<font color="#909090">=None</font>, version<font color="#909090">=None</font>, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Generator">Generator</a><br> |
| <br> |
| Args:<br> |
| uri: string<br> |
| version: string<br> |
| text: str The text data in the this element<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Generator-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Generator-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Generator-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Icon">class <strong>Icon</strong></a>(<a href="atom.html#AtomBase">AtomBase</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:icon element.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Icon">Icon</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Icon-__init__"><strong>__init__</strong></a>(self, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Icon">Icon</a><br> |
| <br> |
| Args:<br> |
| text: str The text data in the this element<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Icon-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Icon-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Icon-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Id">class <strong>Id</strong></a>(<a href="atom.html#AtomBase">AtomBase</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:id element.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Id">Id</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Id-__init__"><strong>__init__</strong></a>(self, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Id">Id</a><br> |
| <br> |
| Args:<br> |
| text: str The text data in the this element<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Id-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Id-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Id-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Link">class <strong>Link</strong></a>(<a href="atom.html#AtomBase">AtomBase</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:link element<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Link">Link</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Link-__init__"><strong>__init__</strong></a>(self, href<font color="#909090">=None</font>, rel<font color="#909090">=None</font>, link_type<font color="#909090">=None</font>, hreflang<font color="#909090">=None</font>, title<font color="#909090">=None</font>, length<font color="#909090">=None</font>, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Link">Link</a><br> |
| <br> |
| Args:<br> |
| href: string The href attribute of the link<br> |
| rel: string<br> |
| type: string<br> |
| hreflang: string The language for the href<br> |
| title: string<br> |
| length: string The length of the href's destination<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs<br> |
| text: str The text data in the this element</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Link-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Link-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Link-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="LinkFinder">class <strong>LinkFinder</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>An "interface" providing methods to find link elements<br> |
| <br> |
| <a href="#Entry">Entry</a> elements often contain multiple links which differ in the rel<br> |
| attribute or content type. Often, developers are interested in a specific<br> |
| type of link so this class provides methods to find specific classes of<br> |
| links.<br> |
| <br> |
| This class is used as a mixin in Atom entries and feeds.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%">Methods defined here:<br> |
| <dl><dt><a name="LinkFinder-GetAlternateLink"><strong>GetAlternateLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="LinkFinder-GetEditLink"><strong>GetEditLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="LinkFinder-GetEditMediaLink"><strong>GetEditMediaLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="LinkFinder-GetLicenseLink"><strong>GetLicenseLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="LinkFinder-GetNextLink"><strong>GetNextLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="LinkFinder-GetSelfLink"><strong>GetSelfLink</strong></a>(self)</dt><dd><tt>Find the first link with rel set to 'self'<br> |
| <br> |
| Returns:<br> |
| An atom.<a href="#Link">Link</a> or none if none of the links had rel equal to 'self'</tt></dd></dl> |
| |
| <hr> |
| Data descriptors defined here:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Logo">class <strong>Logo</strong></a>(<a href="atom.html#AtomBase">AtomBase</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:logo element.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Logo">Logo</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Logo-__init__"><strong>__init__</strong></a>(self, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Logo">Logo</a><br> |
| <br> |
| Args:<br> |
| text: str The text data in the this element<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Logo-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Logo-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Logo-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Name">class <strong>Name</strong></a>(<a href="atom.html#AtomBase">AtomBase</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:name element<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Name">Name</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Name-__init__"><strong>__init__</strong></a>(self, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Name">Name</a><br> |
| <br> |
| Args:<br> |
| text: str The text data in the this element<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Name-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Name-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Name-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Person">class <strong>Person</strong></a>(<a href="atom.html#AtomBase">AtomBase</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>A foundation class from which atom:author and atom:contributor extend.<br> |
| <br> |
| A person contains information like name, email address, and web page URI for<br> |
| an author or contributor to an Atom feed.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Person">Person</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Person-__init__"><strong>__init__</strong></a>(self, name<font color="#909090">=None</font>, email<font color="#909090">=None</font>, uri<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>, text<font color="#909090">=None</font>)</dt><dd><tt>Foundation from which author and contributor are derived.<br> |
| <br> |
| The constructor is provided for illustrative purposes, you should not<br> |
| need to instantiate a <a href="#Person">Person</a>.<br> |
| <br> |
| Args:<br> |
| name: <a href="#Name">Name</a> The person's name<br> |
| email: <a href="#Email">Email</a> The person's email address<br> |
| uri: <a href="#Uri">Uri</a> The URI of the person's webpage<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances which are<br> |
| children of this element.<br> |
| extension_attributes: dict A dictionary of strings which are the values<br> |
| for additional XML attributes of this element.<br> |
| text: String The text contents of the element. This is the contents<br> |
| of the <a href="#Entry">Entry</a>'s XML text node. (Example: <foo>This is the text</foo>)</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Person-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Person-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Person-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Published">class <strong>Published</strong></a>(<a href="atom.html#Date">Date</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:published element.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Published">Published</a></dd> |
| <dd><a href="atom.html#Date">Date</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Published-__init__"><strong>__init__</strong></a>(self, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Published">Published</a><br> |
| <br> |
| Args:<br> |
| text: str The text data in the this element<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Published-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Published-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Published-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Rights">class <strong>Rights</strong></a>(<a href="atom.html#Text">Text</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:rights element<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Rights">Rights</a></dd> |
| <dd><a href="atom.html#Text">Text</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Rights-__init__"><strong>__init__</strong></a>(self, rights_type<font color="#909090">=None</font>, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Rights">Rights</a><br> |
| <br> |
| Args:<br> |
| rights_type: string<br> |
| text: str The text data in the this element<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Rights-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Rights-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Rights-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Source">class <strong>Source</strong></a>(<a href="atom.html#FeedEntryParent">FeedEntryParent</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:source element<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Source">Source</a></dd> |
| <dd><a href="atom.html#FeedEntryParent">FeedEntryParent</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="atom.html#LinkFinder">LinkFinder</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Source-__init__"><strong>__init__</strong></a>(self, author<font color="#909090">=None</font>, category<font color="#909090">=None</font>, contributor<font color="#909090">=None</font>, generator<font color="#909090">=None</font>, icon<font color="#909090">=None</font>, atom_id<font color="#909090">=None</font>, link<font color="#909090">=None</font>, logo<font color="#909090">=None</font>, rights<font color="#909090">=None</font>, subtitle<font color="#909090">=None</font>, title<font color="#909090">=None</font>, updated<font color="#909090">=None</font>, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Source">Source</a><br> |
| <br> |
| Args:<br> |
| author: list (optional) A list of <a href="#Author">Author</a> instances which belong to this<br> |
| class.<br> |
| category: list (optional) A list of <a href="#Category">Category</a> instances<br> |
| contributor: list (optional) A list on <a href="#Contributor">Contributor</a> instances<br> |
| generator: <a href="#Generator">Generator</a> (optional)<br> |
| icon: <a href="#Icon">Icon</a> (optional)<br> |
| id: <a href="#Id">Id</a> (optional) The entry's <a href="#Id">Id</a> element<br> |
| link: list (optional) A list of <a href="#Link">Link</a> instances<br> |
| logo: <a href="#Logo">Logo</a> (optional)<br> |
| rights: <a href="#Rights">Rights</a> (optional) The entry's <a href="#Rights">Rights</a> element<br> |
| subtitle: <a href="#Subtitle">Subtitle</a> (optional) The entry's subtitle element<br> |
| title: <a href="#Title">Title</a> (optional) the entry's title element<br> |
| updated: <a href="#Updated">Updated</a> (optional) the entry's updated element<br> |
| text: String (optional) The text contents of the element. This is the<br> |
| contents of the <a href="#Entry">Entry</a>'s XML text node.<br> |
| (Example: <foo>This is the text</foo>)<br> |
| extension_elements: list (optional) A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| which are children of this element.<br> |
| extension_attributes: dict (optional) A dictionary of strings which are<br> |
| the values for additional XML attributes of this element.</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Source-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Source-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Source-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| <hr> |
| Methods inherited from <a href="atom.html#LinkFinder">LinkFinder</a>:<br> |
| <dl><dt><a name="Source-GetAlternateLink"><strong>GetAlternateLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="Source-GetEditLink"><strong>GetEditLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="Source-GetEditMediaLink"><strong>GetEditMediaLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="Source-GetLicenseLink"><strong>GetLicenseLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="Source-GetNextLink"><strong>GetNextLink</strong></a>(self)</dt></dl> |
| |
| <dl><dt><a name="Source-GetSelfLink"><strong>GetSelfLink</strong></a>(self)</dt><dd><tt>Find the first link with rel set to 'self'<br> |
| <br> |
| Returns:<br> |
| An atom.<a href="#Link">Link</a> or none if none of the links had rel equal to 'self'</tt></dd></dl> |
| |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Subtitle">class <strong>Subtitle</strong></a>(<a href="atom.html#Text">Text</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:subtitle element<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Subtitle">Subtitle</a></dd> |
| <dd><a href="atom.html#Text">Text</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Subtitle-__init__"><strong>__init__</strong></a>(self, subtitle_type<font color="#909090">=None</font>, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Subtitle">Subtitle</a><br> |
| <br> |
| Args:<br> |
| subtitle_type: string<br> |
| text: str The text data in the this element<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Subtitle-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Subtitle-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Subtitle-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Summary">class <strong>Summary</strong></a>(<a href="atom.html#Text">Text</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:summary element<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Summary">Summary</a></dd> |
| <dd><a href="atom.html#Text">Text</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Summary-__init__"><strong>__init__</strong></a>(self, summary_type<font color="#909090">=None</font>, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Summary">Summary</a><br> |
| <br> |
| Args:<br> |
| summary_type: string<br> |
| text: str The text data in the this element<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Summary-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Summary-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Summary-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Text">class <strong>Text</strong></a>(<a href="atom.html#AtomBase">AtomBase</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>A foundation class from which atom:title, summary, etc. extend.<br> |
| <br> |
| This class should never be instantiated.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Text">Text</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Text-__init__"><strong>__init__</strong></a>(self, text_type<font color="#909090">=None</font>, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Text">Text</a><br> |
| <br> |
| Args:<br> |
| text_type: string<br> |
| text: str The text data in the this element<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Text-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Text-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Text-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Title">class <strong>Title</strong></a>(<a href="atom.html#Text">Text</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:title element<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Title">Title</a></dd> |
| <dd><a href="atom.html#Text">Text</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Title-__init__"><strong>__init__</strong></a>(self, title_type<font color="#909090">=None</font>, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Title">Title</a><br> |
| <br> |
| Args:<br> |
| title_type: string<br> |
| text: str The text data in the this element<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Title-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Title-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Title-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Updated">class <strong>Updated</strong></a>(<a href="atom.html#Date">Date</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:updated element.<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Updated">Updated</a></dd> |
| <dd><a href="atom.html#Date">Date</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Updated-__init__"><strong>__init__</strong></a>(self, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Updated">Updated</a><br> |
| <br> |
| Args:<br> |
| text: str The text data in the this element<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Updated-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Updated-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Updated-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table> <p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#ffc8d8"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#000000" face="helvetica, arial"><a name="Uri">class <strong>Uri</strong></a>(<a href="atom.html#AtomBase">AtomBase</a>)</font></td></tr> |
| |
| <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| <td colspan=2><tt>The atom:uri element<br> </tt></td></tr> |
| <tr><td> </td> |
| <td width="100%"><dl><dt>Method resolution order:</dt> |
| <dd><a href="atom.html#Uri">Uri</a></dd> |
| <dd><a href="atom.html#AtomBase">AtomBase</a></dd> |
| <dd><a href="atom.html#ExtensionContainer">ExtensionContainer</a></dd> |
| <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| </dl> |
| <hr> |
| Methods defined here:<br> |
| <dl><dt><a name="Uri-__init__"><strong>__init__</strong></a>(self, text<font color="#909090">=None</font>, extension_elements<font color="#909090">=None</font>, extension_attributes<font color="#909090">=None</font>)</dt><dd><tt>Constructor for <a href="#Uri">Uri</a><br> |
| <br> |
| Args:<br> |
| extension_elements: list A list of <a href="#ExtensionElement">ExtensionElement</a> instances<br> |
| extension_attributes: dict A dictionary of attribute value string pairs<br> |
| text: str The text data in the this element</tt></dd></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#AtomBase">AtomBase</a>:<br> |
| <dl><dt><a name="Uri-ToString"><strong>ToString</strong></a>(self, string_encoding<font color="#909090">='UTF-8'</font>)</dt><dd><tt>Converts the Atom <a href="__builtin__.html#object">object</a> to a string containing XML.</tt></dd></dl> |
| |
| <dl><dt><a name="Uri-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| |
| <hr> |
| Methods inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><a name="Uri-FindExtensions"><strong>FindExtensions</strong></a>(self, tag<font color="#909090">=None</font>, namespace<font color="#909090">=None</font>)</dt><dd><tt>Searches extension elements for child nodes with the desired name.<br> |
| <br> |
| Returns a list of extension elements within this <a href="__builtin__.html#object">object</a> whose tag<br> |
| and/or namespace match those passed in. To find all extensions in<br> |
| a particular namespace, specify the namespace but not the tag name.<br> |
| If you specify only the tag, the result list may contain extension<br> |
| elements in multiple namespaces.<br> |
| <br> |
| Args:<br> |
| tag: str (optional) The desired tag<br> |
| namespace: str (optional) The desired namespace<br> |
| <br> |
| Returns:<br> |
| A list of elements whose tag and/or namespace match the parameters<br> |
| values</tt></dd></dl> |
| |
| <hr> |
| Data descriptors inherited from <a href="atom.html#ExtensionContainer">ExtensionContainer</a>:<br> |
| <dl><dt><strong>__dict__</strong></dt> |
| <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| </dl> |
| <dl><dt><strong>__weakref__</strong></dt> |
| <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| </dl> |
| </td></tr></table></td></tr></table><p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#eeaa77"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> |
| |
| <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> |
| <td width="100%"><dl><dt><a name="-AuthorFromString"><strong>AuthorFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-CategoryFromString"><strong>CategoryFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-ContentFromString"><strong>ContentFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-ContributorFromString"><strong>ContributorFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-ControlFromString"><strong>ControlFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-CreateClassFromXMLString"><strong>CreateClassFromXMLString</strong></a>(*args, **kwargs)</dt><dd><tt># The deprecated_function wraps the actual call to f.</tt></dd></dl> |
| <dl><dt><a name="-DraftFromString"><strong>DraftFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-EmailFromString"><strong>EmailFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-EntryFromString"><strong>EntryFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-ExtensionElementFromString"><strong>ExtensionElementFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-FeedFromString"><strong>FeedFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-GeneratorFromString"><strong>GeneratorFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-IconFromString"><strong>IconFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-IdFromString"><strong>IdFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-LinkFromString"><strong>LinkFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-LogoFromString"><strong>LogoFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-NameFromString"><strong>NameFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-PublishedFromString"><strong>PublishedFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-RightsFromString"><strong>RightsFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-SourceFromString"><strong>SourceFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-SubtitleFromString"><strong>SubtitleFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-SummaryFromString"><strong>SummaryFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-TitleFromString"><strong>TitleFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-UpdatedFromString"><strong>UpdatedFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-UriFromString"><strong>UriFromString</strong></a>(xml_string)</dt></dl> |
| <dl><dt><a name="-deprecated"><strong>deprecated</strong></a>(warning<font color="#909090">=None</font>)</dt><dd><tt>Decorator to raise warning each time the function is called.<br> |
| <br> |
| Args:<br> |
| warning: The warning message to be displayed as a string (optinoal).</tt></dd></dl> |
| <dl><dt><a name="-v1_deprecated"><strong>v1_deprecated</strong></a>(warning<font color="#909090">=None</font>)</dt><dd><tt>Shows a warning if ENABLE_V1_WARNINGS is True.<br> |
| <br> |
| Function decorator used to mark methods used in v1 classes which<br> |
| may be removed in future versions of the library.</tt></dd></dl> |
| </td></tr></table><p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#55aa55"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> |
| |
| <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> |
| <td width="100%"><strong>APP_NAMESPACE</strong> = 'http://purl.org/atom/app#'<br> |
| <strong>APP_TEMPLATE</strong> = '{http://purl.org/atom/app#}%s'<br> |
| <strong>ATOM_NAMESPACE</strong> = 'http://www.w3.org/2005/Atom'<br> |
| <strong>ELEMENT_TEMPLATE</strong> = '{http://www.w3.org/2005/Atom}%s'<br> |
| <strong>ENABLE_V1_WARNINGS</strong> = False<br> |
| <strong>MEMBER_STRING_ENCODING</strong> = 'utf-8'<br> |
| <strong>XML_STRING_ENCODING</strong> = 'utf-8'<br> |
| <strong>__author__</strong> = 'api.jscudder (Jeffrey Scudder)'</td></tr></table><p> |
| <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| <tr bgcolor="#7799ee"> |
| <td colspan=3 valign=bottom> <br> |
| <font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr> |
| |
| <tr><td bgcolor="#7799ee"><tt> </tt></td><td> </td> |
| <td width="100%">api.jscudder (Jeffrey Scudder)</td></tr></table> |
| </body></html> |