def attributes(self, node): try: attr = self.nodeAttributes[node.uid()] return AttributesVMap(attr) except KeyError: attr = VMap() return attr
def attributes(self, node): try: attr = self.nodeAttributes[long(node.this)] return AttributesVMap(attr) except KeyError: attr = VMap() return attr
def _attributes(self): try: attr = AttributesVMap(ResolveAttributesMap(self, self.AttributesMap)) if self.extraAttr: (name, vmap) = self.extraAttr attr[name] = vmap return attr except : attr = VMap() return attr
def _attributes(self): try: return AttributesVMap( ResolveAttributesMap(self, self.CompoundDocumentAttributesMap)) except: pass