Get xml representation of the object. @return: The root node. @rtype: L{Element}
(self)
| 69 | self.keys = [] |
| 70 | |
| 71 | def xml(self): |
| 72 | """ |
| 73 | Get xml representation of the object. |
| 74 | @return: The root node. |
| 75 | @rtype: L{Element} |
| 76 | """ |
| 77 | root = Element('Security', ns=wssens) |
| 78 | root.set('mustUnderstand', str(self.mustUnderstand).lower()) |
| 79 | for t in self.tokens: |
| 80 | root.append(t.xml()) |
| 81 | return root |
| 82 | |
| 83 | |
| 84 | class Token(Object): |
no test coverage detected