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

Default implementation of IRenderingSettingsFactory. More...

Inheritance diagram for CSF.Zpt.Rendering.RenderingSettingsFactory:
Collaboration diagram for CSF.Zpt.Rendering.RenderingSettingsFactory:

Public Member Functions

IRenderingSettings CreateSettings (IRenderingOptions options)
 Creates the settings from the given rendering options. More...
 
IRenderingSettings CreateSettings (IContextVisitor[] contextVisitors=null, IRenderingContextFactory contextFactory=null, bool addSourceAnnotation=DefaultAddAnnotation, System.Text.Encoding encoding=null, bool omitXmlDeclaration=DefaultOmitXmlDeclaration, ITemplateFileFactory templateFactory=null)
 Creates rendering settings from specified values, using defaults where values are blank. More...
 

Static Public Member Functions

static Type[] GetDefaultContextVisitorTypes ()
 Gets a collection of System.Type representing the default IContextVisitor implementations which visit rendering contexts. More...
 

Detailed Description

Default implementation of IRenderingSettingsFactory.

Member Function Documentation

IRenderingSettings CSF.Zpt.Rendering.RenderingSettingsFactory.CreateSettings ( IRenderingOptions  options)
inline

Creates the settings from the given rendering options.

Returns
The settings.
Parameters
optionsOptions.

Implements CSF.Zpt.Rendering.IRenderingSettingsFactory.

IRenderingSettings CSF.Zpt.Rendering.RenderingSettingsFactory.CreateSettings ( IContextVisitor[]  contextVisitors = null,
IRenderingContextFactory  contextFactory = null,
bool  addSourceAnnotation = DefaultAddAnnotation,
System.Text.Encoding  encoding = null,
bool  omitXmlDeclaration = DefaultOmitXmlDeclaration,
ITemplateFileFactory  templateFactory = null 
)
inline

Creates rendering settings from specified values, using defaults where values are blank.

Returns
The settings.
Parameters
contextVisitorsContext visitors.
contextFactoryContext factory.
addSourceAnnotationIf set to true add source annotation.
encodingEncoding.
omitXmlDeclarationIf set to true omit xml declaration.
templateFactoryTemplate factory.

Implements CSF.Zpt.Rendering.IRenderingSettingsFactory.

static Type [] CSF.Zpt.Rendering.RenderingSettingsFactory.GetDefaultContextVisitorTypes ( )
inlinestatic

Gets a collection of System.Type representing the default IContextVisitor implementations which visit rendering contexts.

Returns
The default context visitor types.

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