Get whether the element has I{text} and that it is not an empty (zero length) string. @return: True when has I{text}. @rtype: boolean
(self)
| 272 | return self |
| 273 | |
| 274 | def hasText(self): |
| 275 | """ |
| 276 | Get whether the element has I{text} and that it is not an empty |
| 277 | (zero length) string. |
| 278 | @return: True when has I{text}. |
| 279 | @rtype: boolean |
| 280 | """ |
| 281 | return self.text is not None and len(self.text) |
| 282 | |
| 283 | def namespace(self): |
| 284 | """ |
no outgoing calls
no test coverage detected