Build the schema (object graph) using the root node using the factory. - Build the graph. - Collate the children.
(self)
| 242 | return tuple(tns) |
| 243 | |
| 244 | def build(self): |
| 245 | """ |
| 246 | Build the schema (object graph) using the root node |
| 247 | using the factory. |
| 248 | - Build the graph. |
| 249 | - Collate the children. |
| 250 | """ |
| 251 | self.children = BasicFactory.build(self.root, self) |
| 252 | collated = BasicFactory.collate(self.children) |
| 253 | self.children = collated[0] |
| 254 | self.attributes = collated[2] |
| 255 | self.imports = collated[1] |
| 256 | self.elements = collated[3] |
| 257 | self.types = collated[4] |
| 258 | self.groups = collated[5] |
| 259 | self.agrps = collated[6] |
| 260 | |
| 261 | def merge(self, schema): |
| 262 | """ |