ZPT-Sharp  v1.0.0
Zope Page Templates for .NET
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
CSF.Zpt.Tales.TalesRenderingContextFactory Class Reference

Implementation of IRenderingContextFactory which creates TalesModel instances. More...

Inheritance diagram for CSF.Zpt.Tales.TalesRenderingContextFactory:
Collaboration diagram for CSF.Zpt.Tales.TalesRenderingContextFactory:

Public Member Functions

virtual IRenderingContext Create (IZptElement element, IRenderingSettings options)
 Create a context instance. More...
 
virtual IRenderingContext Create (IZptElement element, IRenderingSettings options, object model)
 Create a context instance. More...
 
virtual void AddKeywordOption (string key, string value)
 Adds a keyword option to contexts created by the current instance. More...
 
 TalesRenderingContextFactory (IEvaluatorSelector evaluatorRegistry=null)
 Initializes a new instance of the CSF.Zpt.Tales.TalesRenderingContextFactory class. More...
 

Protected Member Functions

virtual void PopulateMetalModel (IModel model)
 Populates a METAL model from the state of the current instance. More...
 
virtual void PopulateTalModel (IModel model)
 Populates a TAL model from the state of the current instance. More...
 

Properties

IEvaluatorSelector EvaluatorRegistry [get]
 Gets the TALES evaluator registry implementation to use. More...
 
IDictionary< string, object > TalLocalDefinitions [get]
 Gets the local definitions to be pre-loaded into the TAL model. More...
 
IDictionary< string, object > TalGlobalDefinitions [get]
 Gets the global definitions to be pre-loaded into the TAL model. More...
 
IDictionary< string, object > TalKeywordOptions [get]
 Gets the keyword options to be pre-loaded into the TAL model. More...
 
IDictionary< string, object > MetalLocalDefinitions [get]
 Gets the local definitions to be pre-loaded into the METAL model. More...
 
IDictionary< string, object > MetalGlobalDefinitions [get]
 Gets the global definitions to be pre-loaded into the METAL model. More...
 
IDictionary< string, object > MetalKeywordOptions [get]
 Gets the keyword options to be pre-loaded into the METAL model. More...
 
string RootDocumentPath [get, set]
 Gets or sets the root file path for METAL documents. More...
 

Detailed Description

Implementation of IRenderingContextFactory which creates TalesModel instances.

Constructor & Destructor Documentation

CSF.Zpt.Tales.TalesRenderingContextFactory.TalesRenderingContextFactory ( IEvaluatorSelector  evaluatorRegistry = null)
inline

Initializes a new instance of the CSF.Zpt.Tales.TalesRenderingContextFactory class.

Parameters
evaluatorRegistryEvaluator registry.

Member Function Documentation

virtual void CSF.Zpt.Tales.TalesRenderingContextFactory.AddKeywordOption ( string  key,
string  value 
)
inlinevirtual

Adds a keyword option to contexts created by the current instance.

Parameters
keyKey.
valueValue.

Implements CSF.Zpt.Rendering.IRenderingContextFactory.

virtual IRenderingContext CSF.Zpt.Tales.TalesRenderingContextFactory.Create ( IZptElement  element,
IRenderingSettings  options 
)
inlinevirtual

Create a context instance.

Implements CSF.Zpt.Rendering.IRenderingContextFactory.

virtual IRenderingContext CSF.Zpt.Tales.TalesRenderingContextFactory.Create ( IZptElement  element,
IRenderingSettings  options,
object  model 
)
inlinevirtual

Create a context instance.

Implements CSF.Zpt.Rendering.IRenderingContextFactory.

Reimplemented in CSF.Zpt.MVC.Rendering.MvcRenderingContextFactory.

virtual void CSF.Zpt.Tales.TalesRenderingContextFactory.PopulateMetalModel ( IModel  model)
inlineprotectedvirtual

Populates a METAL model from the state of the current instance.

Parameters
modelModel.
virtual void CSF.Zpt.Tales.TalesRenderingContextFactory.PopulateTalModel ( IModel  model)
inlineprotectedvirtual

Populates a TAL model from the state of the current instance.

Parameters
modelModel.

Property Documentation

IEvaluatorSelector CSF.Zpt.Tales.TalesRenderingContextFactory.EvaluatorRegistry
get

Gets the TALES evaluator registry implementation to use.

The evaluator registry.

IDictionary<string,object> CSF.Zpt.Tales.TalesRenderingContextFactory.MetalGlobalDefinitions
get

Gets the global definitions to be pre-loaded into the METAL model.

The METAL global definitions.

IDictionary<string,object> CSF.Zpt.Tales.TalesRenderingContextFactory.MetalKeywordOptions
get

Gets the keyword options to be pre-loaded into the METAL model.

The METAL keyword options.

IDictionary<string,object> CSF.Zpt.Tales.TalesRenderingContextFactory.MetalLocalDefinitions
get

Gets the local definitions to be pre-loaded into the METAL model.

The METAL local definitions.

string CSF.Zpt.Tales.TalesRenderingContextFactory.RootDocumentPath
getset

Gets or sets the root file path for METAL documents.

The root document path.

IDictionary<string,object> CSF.Zpt.Tales.TalesRenderingContextFactory.TalGlobalDefinitions
get

Gets the global definitions to be pre-loaded into the TAL model.

The TAL global definitions.

IDictionary<string,object> CSF.Zpt.Tales.TalesRenderingContextFactory.TalKeywordOptions
get

Gets the keyword options to be pre-loaded into the TAL model.

The TAL keyword options.

IDictionary<string,object> CSF.Zpt.Tales.TalesRenderingContextFactory.TalLocalDefinitions
get

Gets the local definitions to be pre-loaded into the TAL model.

The TAL local definitions.


The documentation for this class was generated from the following file: