(self, options=None)
| 135 | instance.""" |
| 136 | |
| 137 | def __init__(self, options=None): |
| 138 | if options is None: |
| 139 | options = xmlbuilder.Options() |
| 140 | self._options = options |
| 141 | if self._options.filter is not None: |
| 142 | self._filter = FilterVisibilityController(self._options.filter) |
| 143 | else: |
| 144 | self._filter = None |
| 145 | # This *really* doesn't do anything in this case, so |
| 146 | # override it with something fast & minimal. |
| 147 | self._finish_start_element = id |
| 148 | self._parser = None |
| 149 | self.reset() |
| 150 | |
| 151 | def createParser(self): |
| 152 | """Create a new parser object.""" |
nothing calls this directly
no test coverage detected