Lines Matching refs:self
129 def __init__(self, ctor,serviceNames): argument
130 self.ctor = ctor
131 self.serviceNames = serviceNames
134 def __init__(self): argument
135 self.impls = {}
137 def addImplementation( self, ctor, implementationName, serviceNames ): argument
138 self.impls[implementationName] = _ImplementationHelperEntry(ctor,serviceNames)
140 def writeRegistryInfo( self, regKey, smgr ): argument
141 for i in list(self.impls.items()):
148 def getComponentFactory( self, implementationName , regKey, smgr ): argument
149 entry = self.impls.get( implementationName, None )
154 def getSupportedServiceNames( self, implementationName ): argument
155 entry = self.impls.get( implementationName, None )
160 def supportsService( self, implementationName, serviceName ): argument
161 entry = self.impls.get( implementationName,None )
168 def __init__(self, implName, supportedServices, clazz ): argument
169 self.implName = implName
170 self.supportedServices = supportedServices
171 self.clazz = clazz
226 def _unohelper_getHandle( self): argument
228 if self.__class__ in _g_typeTable:
229 ret = _g_typeTable[self.__class__]
232 traverse = list(self.__class__.__bases__)
249 _g_typeTable[self.__class__] = ret
253 def getTypes( self ): argument
254 return _unohelper_getHandle( self )[0]
255 def getImplementationId(self): argument
256 return _unohelper_getHandle( self )[1]
263 def __init__( self, oldContext, hashMap ): argument
264 self.hashMap = hashMap
265 self.oldContext = oldContext
267 def getValueByName( self, name ): argument
268 if name in self.hashMap:
269 return self.hashMap[name]
270 elif self.oldContext != None:
271 return self.oldContext.getValueByName( name )
279 def __init__( self, clazz, implementationName, serviceNames ): argument
280 self.clazz = clazz
281 self.implementationName = implementationName
282 self.serviceNames = serviceNames
284 def getImplementationName( self ): argument
285 return self.implementationName
287 def supportsService( self, ServiceName ): argument
288 return ServiceName in self.serviceNames
290 def getSupportedServiceNames( self ): argument
291 return self.serviceNames
293 def createInstanceWithContext( self, context ): argument
294 return self.clazz( context )
296 def createInstanceWithArgumentsAndContext( self, args, context ): argument
297 return self.clazz( context, *args )