Refit (normalize) all of the nodes in the branch.
(self)
| 1069 | self.refitMappings() |
| 1070 | |
| 1071 | def refitNodes(self): |
| 1072 | """ |
| 1073 | Refit (normalize) all of the nodes in the branch. |
| 1074 | """ |
| 1075 | for n in self.branch: |
| 1076 | if n.prefix is not None: |
| 1077 | ns = n.namespace() |
| 1078 | if self.permit(ns): |
| 1079 | n.prefix = self.prefixes[ns[1]] |
| 1080 | self.refitAttrs(n) |
| 1081 | |
| 1082 | def refitAttrs(self, n): |
| 1083 | """ |
no test coverage detected