Class n.c.FactoryContext(WebContext):

Part of nevow.context View Source View In Hierarchy

Known subclasses: nevow.context.PageContext, nevow.context.RequestContext, nevow.context.SiteContext

A context which allows adapters to be registered against it so that an object can be lazily created and returned at render time. When ctx.locate is called with an interface for which an adapter is registered, that adapter will be used and the result returned.

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
216 Method locateHook Undocumented
225 Method __conform__ Support IFoo(ctx) syntax.

Inherited from WebContext:

Line # Kind Name Docs
37 Method with Undocumented
41 Method arg Placeholder until I can find Jerub's implementation of this
49 Method __init__ Undocumented
57 Method remember Remember an object that implements some interfaces.
78 Method locate Locate an object which implements a given interface.
120 Method chain For nevow machinery use only.
139 Method fillSlots Set 'stan' as the stan tree to replace all slots with name 'name'.
146 Method locateSlotData For use by nevow machinery only, or for some fancy cases.
161 Method clone Undocumented
201 Method __repr__ Undocumented
Line # Kind Name Docs
225 Method __conform__ Support IFoo(ctx) syntax.
49 Method __init__ Undocumented
201 Method __repr__ Undocumented
41 Method arg Placeholder until I can find Jerub's implementation of this
120 Method chain For nevow machinery use only.
161 Method clone Undocumented
139 Method fillSlots Set 'stan' as the stan tree to replace all slots with name 'name'.
78 Method locate Locate an object which implements a given interface.
216 Method locateHook Undocumented
146 Method locateSlotData For use by nevow machinery only, or for some fancy cases.
57 Method remember Remember an object that implements some interfaces.
37 Method with Undocumented
def locateHook(self, interface): (source)
Undocumented
def __conform__(self, interface): (source)
Support IFoo(ctx) syntax.
API Documentation for Nevow, generated by pydoctor.