ZPT-Sharp
v1.0.0
Zope Page Templates for .NET
|
Represents the default IRenderingSettings. More...
Public Member Functions | |
virtual IRenderingContext | CreateRootContext (IZptElement element) |
Creates a new root IRenderingContext instance. More... | |
virtual IRenderingContext | CreateRootContext (IZptElement element, object model) |
Creates a new root IRenderingContext instance. More... | |
virtual ITemplateFileFactory | GetTemplateFileFactory () |
Gets an instance of ITemplateFileFactory from the current instance. More... | |
DefaultRenderingSettings () | |
Initializes a new instance of the CSF.Zpt.Rendering.DefaultRenderingSettings class. More... | |
Protected Member Functions | |
DefaultRenderingSettings (ITemplateFileFactory documentFactory=null, IContextVisitor[] elementVisitors=null, IRenderingContextFactory contextFactory=null, bool addSourceFileAnnotation=DefaultAddAnnotation, Encoding outputEncoding=null, bool omitXmlDeclaration=DefaultOmitXmlDeclaration) | |
Initializes a new instance of the CSF.Zpt.Rendering.DefaultRenderingSettings class. More... | |
Static Protected Attributes | |
static readonly IRenderingContextFactory | DefaultContextFactory = new TalesRenderingContextFactory() |
Gets the refault IRenderingContextFactory implementation. More... | |
static readonly Encoding | DefaultEncoding = Encoding.UTF8 |
Gets the default character encoding. More... | |
Properties | |
static IContextVisitor[] | DefaultVisitors [get] |
Gets the default context visitors. More... | |
IRenderingContextFactory | ContextFactory [get, protected set] |
Gets the factory implementation with which to create RenderingContext instances. More... | |
bool | AddSourceFileAnnotation [get, protected set] |
Gets or sets a value indicating whether source file annotations should be added to the rendered output. More... | |
IContextVisitor[] | ContextVisitors [get, protected set] |
Gets the context visitors to be used when processing ZPT documents. More... | |
Encoding | OutputEncoding [get, protected set] |
Gets the encoding (eg: Unicode) for the rendered output. More... | |
bool | OmitXmlDeclaration [get, protected set] |
Gets a value indicating whether the XML declaration should be omitted (where applicable). More... | |
ITemplateFileFactory | TemplateFileFactory [get, set] |
Gets or sets the implementation of ITemplateFileFactory to use. More... | |
![]() | |
IRenderingContextFactory | ContextFactory [get] |
Gets the factory implementation with which to create IRenderingContext instances. More... | |
bool | AddSourceFileAnnotation [get] |
Gets or sets a value indicating whether source file annotations should be added to the rendered output. More... | |
IContextVisitor[] | ContextVisitors [get] |
Gets the context visitors to be used when processing ZPT documents. More... | |
Encoding | OutputEncoding [get] |
Gets the encoding (eg: Unicode) for the rendered output. More... | |
bool | OmitXmlDeclaration [get] |
Gets a value indicating whether the XML declaration should be omitted (where applicable). More... | |
Represents the default IRenderingSettings.
|
inlineprotected |
Initializes a new instance of the CSF.Zpt.Rendering.DefaultRenderingSettings class.
documentFactory | Document factory. |
elementVisitors | Element visitors. |
contextFactory | Context factory. |
addSourceFileAnnotation | If set to true add source file annotation. |
outputEncoding | Output encoding. |
omitXmlDeclaration | If set to true omit XML declaration. |
|
inline |
Initializes a new instance of the CSF.Zpt.Rendering.DefaultRenderingSettings class.
|
inlinevirtual |
Creates a new root IRenderingContext instance.
Implements CSF.Zpt.Rendering.IRenderingSettings.
|
inlinevirtual |
Creates a new root IRenderingContext instance.
element | The root ZPT element |
model | The model to render |
Implements CSF.Zpt.Rendering.IRenderingSettings.
|
inlinevirtual |
Gets an instance of ITemplateFileFactory from the current instance.
Implements CSF.Zpt.Rendering.IRenderingSettings.
|
staticprotected |
Gets the refault IRenderingContextFactory implementation.
|
staticprotected |
Gets the default character encoding.
|
getprotected set |
Gets or sets a value indicating whether source file annotations should be added to the rendered output.
true
if source file annotations are to be added; otherwise, false
.
|
getprotected set |
Gets the factory implementation with which to create RenderingContext instances.
The rendering context factory.
|
getprotected set |
Gets the context visitors to be used when processing ZPT documents.
The context visitors.
|
staticgetprotected |
Gets the default context visitors.
The default context visitors.
|
getprotected set |
Gets a value indicating whether the XML declaration should be omitted (where applicable).
true
if the XML declaration is to be omitted; otherwise, false
.
|
getprotected set |
Gets the encoding (eg: Unicode) for the rendered output.
The output encoding.
|
getsetprotected |
Gets or sets the implementation of ITemplateFileFactory to use.
The template file factory.