ZPT-Sharp
v1.0.0
Zope Page Templates for .NET
|
Encapsulates the available options for rendering a ZptDocument. 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... | |
RenderingSettings (IContextVisitor[] elementVisitors, IRenderingContextFactory contextFactory, bool addSourceFileAnnotation, System.Text.Encoding outputEncoding, bool omitXmlDeclaration, ITemplateFileFactory documentFactory) | |
Initializes a new instance of the CSF.Zpt.Rendering.IRenderingSettings class. More... | |
Properties | |
IRenderingContextFactory | ContextFactory [get] |
Gets the factory implementation with which to create RenderingContext 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... | |
ITemplateFileFactory | TemplateFileFactory [get] |
Gets or sets the implementation of ITemplateFileFactory to use. More... | |
static IRenderingSettings | Default [get] |
Exposes an instance of IRenderingSettings which carries the default settings. 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... | |
Encapsulates the available options for rendering a ZptDocument.
|
inline |
Initializes a new instance of the CSF.Zpt.Rendering.IRenderingSettings class.
addSourceFileAnnotation | Indicates whether or not source file annotation is to be added. |
elementVisitors | The element visitors to use. |
contextFactory | The rendering context factory. |
outputEncoding | The desired output encoding. |
omitXmlDeclaration | Whether or not to omit the XML declaration. |
documentFactory | An optional non-default implementation of ITemplateFileFactory to use. |
|
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.
|
get |
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
.
|
get |
Gets the factory implementation with which to create RenderingContext instances.
The rendering context factory.
|
get |
Gets the context visitors to be used when processing ZPT documents.
The context visitors.
|
staticget |
Exposes an instance of IRenderingSettings which carries the default settings.
The default settings.
|
get |
Gets a value indicating whether the XML declaration should be omitted (where applicable).
true
if the XML declaration is to be omitted; otherwise, false
.
|
get |
Gets the encoding (eg: Unicode) for the rendered output.
The output encoding.
|
get |
Gets or sets the implementation of ITemplateFileFactory to use.
The template file factory.