Refit (normalize) the attribute. @param a: An attribute. @type a: L{Attribute}
(self, a)
| 1089 | self.refitAddr(a) |
| 1090 | |
| 1091 | def refitAddr(self, a): |
| 1092 | """ |
| 1093 | Refit (normalize) the attribute. |
| 1094 | @param a: An attribute. |
| 1095 | @type a: L{Attribute} |
| 1096 | """ |
| 1097 | if a.prefix is not None: |
| 1098 | ns = a.namespace() |
| 1099 | if self.permit(ns): |
| 1100 | a.prefix = self.prefixes[ns[1]] |
| 1101 | self.refitValue(a) |
| 1102 | |
| 1103 | def refitValue(self, a): |
| 1104 | """ |
no test coverage detected