(self)
| 31 | return self.construct_document(self.get_node()) |
| 32 | |
| 33 | def get_single_data(self): |
| 34 | # Ensure that the stream contains a single document and construct it. |
| 35 | node = self.get_single_node() |
| 36 | if node is not None: |
| 37 | return self.construct_document(node) |
| 38 | return None |
| 39 | |
| 40 | def construct_document(self, node): |
| 41 | data = self.construct_object(node) |
no test coverage detected