Instruct all contained L{sxbasic.Import} children to import the schema's which they reference. The contents of the imported schema are I{merged} in. @param options: An options dictionary. @type options: L{options.Options}
(self, options)
| 295 | return self |
| 296 | |
| 297 | def open_imports(self, options): |
| 298 | """ |
| 299 | Instruct all contained L{sxbasic.Import} children to import |
| 300 | the schema's which they reference. The contents of the |
| 301 | imported schema are I{merged} in. |
| 302 | @param options: An options dictionary. |
| 303 | @type options: L{options.Options} |
| 304 | """ |
| 305 | for imp in self.imports: |
| 306 | imported = imp.open(options) |
| 307 | if imported is None: |
| 308 | continue |
| 309 | imported.open_imports(options) |
| 310 | log.debug('imported:\n%s', imported) |
| 311 | self.merge(imported) |
| 312 | |
| 313 | def dereference(self): |
| 314 | """ |