1 <?xml version="1.0" encoding="ascii"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6 <title>lxml.etree.ElementClassLookup</title>
7 <link rel="stylesheet" href="epydoc.css" type="text/css" />
8 <script type="text/javascript" src="epydoc.js"></script>
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15 bgcolor="#a0c0ff" cellspacing="0">
18 <th> <a
19 href="lxml-module.html">Home</a> </th>
22 <th> <a
23 href="module-tree.html">Trees</a> </th>
26 <th> <a
27 href="identifier-index.html">Indices</a> </th>
30 <th> <a
31 href="help.html">Help</a> </th>
33 <!-- Project homepage -->
34 <th class="navbar" align="right" width="100%">
35 <table border="0" cellpadding="0" cellspacing="0">
36 <tr><th class="navbar" align="center"
37 ><a class="navbar" target="_top" href="/">lxml API</a></th>
41 <table width="100%" cellpadding="0" cellspacing="0">
44 <span class="breadcrumbs">
45 <a href="lxml-module.html">Package lxml</a> ::
46 <a href="lxml.etree-module.html">Module etree</a> ::
47 Class ElementClassLookup
51 <table cellpadding="0" cellspacing="0">
52 <!-- hide/show private -->
53 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
54 onclick="toggle_private();">hide private</a>]</span></td></tr>
55 <tr><td align="right"><span class="options"
56 >[<a href="frames.html" target="_top">frames</a
57 >] | <a href="lxml.etree.ElementClassLookup-class.html"
58 target="_top">no frames</a>]</span></td></tr>
63 <!-- ==================== CLASS DESCRIPTION ==================== -->
64 <h1 class="epydoc">Class ElementClassLookup</h1><p class="nomargin-top"></p>
65 <pre class="base-tree">
68 <strong class="uidshort">ElementClassLookup</strong>
71 <dl><dt>Known Subclasses:</dt>
73 <ul class="subclass-list">
74 <li><a href="lxml.objectify.ObjectifyElementClassLookup-class.html">objectify.ObjectifyElementClassLookup</a></li><li>, <a href="lxml.etree.FallbackElementClassLookup-class.html">FallbackElementClassLookup</a></li><li>, <a href="lxml.etree.ElementDefaultClassLookup-class.html">ElementDefaultClassLookup</a></li> </ul>
78 ElementClassLookup(self)
79 Superclass of Element class lookups.
81 <!-- ==================== INSTANCE METHODS ==================== -->
82 <a name="section-InstanceMethods"></a>
83 <table class="summary" border="1" cellpadding="3"
84 cellspacing="0" width="100%" bgcolor="white">
85 <tr bgcolor="#70b0f0" class="table-header">
86 <td colspan="2" class="table-header">
87 <table border="0" cellpadding="0" cellspacing="0" width="100%">
89 <td align="left"><span class="table-header">Instance Methods</span></td>
90 <td align="right" valign="top"
91 ><span class="options">[<a href="#section-InstanceMethods"
92 class="privatelink" onclick="toggle_private();"
93 >hide private</a>]</span></td>
99 <td width="15%" align="right" valign="top" class="summary">
100 <span class="summary-type">a new object with type S, a subtype of T</span>
101 </td><td class="summary">
102 <table width="100%" cellpadding="0" cellspacing="0" border="0">
104 <td><span class="summary-sig"><a href="lxml.etree.ElementClassLookup-class.html#__new__" class="summary-sig-name">__new__</a>(<span class="summary-sig-arg">T</span>,
105 <span class="summary-sig-arg">S</span>,
106 <span class="summary-sig-arg">...</span>)</span></td>
107 <td align="right" valign="top">
117 <td colspan="2" class="summary">
118 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
119 <code>__delattr__</code>,
120 <code>__format__</code>,
121 <code>__getattribute__</code>,
122 <code>__hash__</code>,
123 <code>__init__</code>,
124 <code>__reduce__</code>,
125 <code>__reduce_ex__</code>,
126 <code>__repr__</code>,
127 <code>__setattr__</code>,
128 <code>__sizeof__</code>,
129 <code>__str__</code>,
130 <code>__subclasshook__</code>
135 <!-- ==================== PROPERTIES ==================== -->
136 <a name="section-Properties"></a>
137 <table class="summary" border="1" cellpadding="3"
138 cellspacing="0" width="100%" bgcolor="white">
139 <tr bgcolor="#70b0f0" class="table-header">
140 <td colspan="2" class="table-header">
141 <table border="0" cellpadding="0" cellspacing="0" width="100%">
143 <td align="left"><span class="table-header">Properties</span></td>
144 <td align="right" valign="top"
145 ><span class="options">[<a href="#section-Properties"
146 class="privatelink" onclick="toggle_private();"
147 >hide private</a>]</span></td>
153 <td colspan="2" class="summary">
154 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
155 <code>__class__</code>
160 <!-- ==================== METHOD DETAILS ==================== -->
161 <a name="section-MethodDetails"></a>
162 <table class="details" border="1" cellpadding="3"
163 cellspacing="0" width="100%" bgcolor="white">
164 <tr bgcolor="#70b0f0" class="table-header">
165 <td colspan="2" class="table-header">
166 <table border="0" cellpadding="0" cellspacing="0" width="100%">
168 <td align="left"><span class="table-header">Method Details</span></td>
169 <td align="right" valign="top"
170 ><span class="options">[<a href="#section-MethodDetails"
171 class="privatelink" onclick="toggle_private();"
172 >hide private</a>]</span></td>
178 <a name="__new__"></a>
180 <table class="details" border="1" cellpadding="3"
181 cellspacing="0" width="100%" bgcolor="white">
183 <table width="100%" cellpadding="0" cellspacing="0" border="0">
184 <tr valign="top"><td>
185 <h3 class="epydoc"><span class="sig"><span class="sig-name">__new__</span>(<span class="sig-arg">T</span>,
186 <span class="sig-arg">S</span>,
187 <span class="sig-arg">...</span>)</span>
189 </td><td align="right" valign="top"
196 <dt>Returns: a new object with type S, a subtype of T</dt>
204 <!-- ==================== NAVIGATION BAR ==================== -->
205 <table class="navbar" border="0" width="100%" cellpadding="0"
206 bgcolor="#a0c0ff" cellspacing="0">
209 <th> <a
210 href="lxml-module.html">Home</a> </th>
213 <th> <a
214 href="module-tree.html">Trees</a> </th>
217 <th> <a
218 href="identifier-index.html">Indices</a> </th>
221 <th> <a
222 href="help.html">Help</a> </th>
224 <!-- Project homepage -->
225 <th class="navbar" align="right" width="100%">
226 <table border="0" cellpadding="0" cellspacing="0">
227 <tr><th class="navbar" align="center"
228 ><a class="navbar" target="_top" href="/">lxml API</a></th>
232 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
234 <td align="left" class="footer">
235 Generated by Epydoc 3.0.1 on Tue Jul 31 10:14:18 2012
237 <td align="right" class="footer">
238 <a target="mainFrame" href="http://epydoc.sourceforge.net"
239 >http://epydoc.sourceforge.net</a>
244 <script type="text/javascript">
246 // Private objects are initially displayed (because if
247 // javascript is turned off then we want them to be
248 // visible); but by default, we want to hide them. So hide
249 // them unless we have a cookie that says to show them.