Construct a I{list} reply. This method is called when it has been detected that the reply is a list. @param rt: The return I{type}. @type rt: L{suds.xsd.sxbase.SchemaObject} @param nodes: A collection of XML nodes. @type nodes: [L{Element
(self, rt, nodes)
| 184 | return self |
| 185 | |
| 186 | def replylist(self, rt, nodes): |
| 187 | """ |
| 188 | Construct a I{list} reply. This method is called when it has been |
| 189 | detected |
| 190 | that the reply is a list. |
| 191 | @param rt: The return I{type}. |
| 192 | @type rt: L{suds.xsd.sxbase.SchemaObject} |
| 193 | @param nodes: A collection of XML nodes. |
| 194 | @type nodes: [L{Element},...] |
| 195 | @return: A list of I{unmarshalled} objects. |
| 196 | @rtype: [L{Object},...] |
| 197 | """ |
| 198 | result = [] |
| 199 | resolved = rt.resolve(nobuiltin=True) |
| 200 | unmarshaller = self.unmarshaller() |
| 201 | for node in nodes: |
| 202 | sobject = unmarshaller.process(node, resolved) |
| 203 | result.append(sobject) |
| 204 | return result |
| 205 | |
| 206 | def replycomposite(self, rtypes, nodes): |
| 207 | """ |
no test coverage detected