ZPT-Sharp
v1.0.0
Zope Page Templates for .NET
|
Encapsulates the available options for rendering a IZptDocument. More...
Public Member Functions | |
IRenderingContext | CreateRootContext (IZptElement element) |
Creates a new root IRenderingContext instance. More... | |
IRenderingContext | CreateRootContext (IZptElement element, object model) |
Creates a new root IRenderingContext instance. More... | |
ITemplateFileFactory | GetTemplateFileFactory () |
Gets an instance of ITemplateFileFactory from the current instance. More... | |
Properties | |
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 IZptDocument.
IRenderingContext CSF.Zpt.Rendering.IRenderingSettings.CreateRootContext | ( | IZptElement | element | ) |
Creates a new root IRenderingContext instance.
element | The root ZPT element |
Implemented in CSF.Zpt.Rendering.DefaultRenderingSettings, and CSF.Zpt.Rendering.RenderingSettings.
IRenderingContext CSF.Zpt.Rendering.IRenderingSettings.CreateRootContext | ( | IZptElement | element, |
object | model | ||
) |
Creates a new root IRenderingContext instance.
element | The root ZPT element |
model | The model to render |
Implemented in CSF.Zpt.Rendering.DefaultRenderingSettings, and CSF.Zpt.Rendering.RenderingSettings.
ITemplateFileFactory CSF.Zpt.Rendering.IRenderingSettings.GetTemplateFileFactory | ( | ) |
Gets an instance of ITemplateFileFactory from the current instance.
Implemented in CSF.Zpt.Rendering.DefaultRenderingSettings, and CSF.Zpt.Rendering.RenderingSettings.
|
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 IRenderingContext instances.
The rendering context factory.
|
get |
Gets the context visitors to be used when processing ZPT documents.
The context visitors.
|
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.