Namespace ZptSharp.Rendering
Classes
EffectiveConfigSettingZptDocumentRendererDecorator
An entry-point service for ZPT-Sharp. This service renders a model to a document stream and returns the result as a stream.
ExpressionContextFactory
Factory for the creation of expression contexts.
ExpressionContextIterativeProcessor
An implementation of IIterativelyProcessesExpressionContexts which receives its IProcessesExpressionContext from the constructor. See also: IGetsIterativeExpressionContextProcessor for a factory which may be used to create instances of this type.
ExpressionContextProcessingResult
Describes the result/outcome of an invocation of IProcessesExpressionContext.
FileSourceInfo
Implementation of IDocumentSourceInfo for a document which was retrieved from a file on disk.
IterativeDocumentModifier
A service which which makes use of an IIterativelyProcessesExpressionContexts in order to apply a IProcessesExpressionContext to every node exposed by a document.
IterativeExpressionContextProcessorFactory
A factory implementation which creates IIterativelyProcessesExpressionContexts using a specified implementation of IProcessesExpressionContext.
MetalDocumentModifierDecorator
Decorator for the interface IModifiesDocument which handles concerns relating to METAL.
NodeSourceInfo
An object which encapsulates information about the source of a single DOM node.
NoOpDocumentModifier
A no-op implementation of IModifiesDocument makes no change to the document.
OtherSourceInfo
Implementation of IDocumentSourceInfo for a document which was retrieved from a location that may be identified, but is not a file on disk.
RemoveZptAttributesModifierDecorator
Implementation of IModifiesDocument which coordinates the removal of ZPT-related nodes and attributes from a document. This is essentially a clean-up process which strips processing directives from a document.
SourceAnnotationDocumentModifierDecorator
Implementation of IModifiesDocument which adds source annotation to the document DOM where appropriate. Source annotation is a debugging and logging aid which helps developers see where each part of the output DOM originates.
TalDocumentModifierDecorator
Implementation of IModifiesDocument which handles TAL model-binding directives.
UnknownSourceInfo
Implementation of IDocumentSourceInfo for a document which has an unidentifiable source.
ZptCleanupContextProcessor
An implementation of IProcessesExpressionContext which 'cleans up' ZPT markup from the rendered document. This context processor would typically be executed last, in order to strip out all ZPT-related directives from a document which has already been processed.
ZptCleanupContextProcessorFactory
Implementation of IGetsZptNodeAndAttributeRemovalContextProcessor which returns a context processor suitable for performing cleanup on a rendered document.
ZptDocumentModifierFactory
An implementation of IGetsDocumentModifier which assembles an instance of IModifiesDocument using the decorator pattern. Each implementation of the service wraps another, augmenting its functionality.
ZptDocumentRenderer
A service which coordinates the process of rendering a ZPT document.
ZptDocumentRendererFactory
A factory which creates instances of EffectiveConfigSettingZptDocumentRendererDecorator from a RenderingConfig and optionally a System.Type which indicates the IReadsAndWritesDocument to be used.
ZptDocumentRendererForFilePathFactory
Implementation of IGetsZptDocumentRendererForFilePath which uses a file path to get a suitable implementation of IRendersZptDocument.
ZptRequestLoggingScope
A type to represent the logging scope for a single ZPT rendering request.
Interfaces
IDocumentSourceInfo
Describes the source of an IDocument, usable for debugging, diagnostic or informational purposes.
IGetsChildExpressionContexts
A service which gets a collection of child expression contexts from a specified context.
IGetsDocumentModifier
An object which can get an instance of IModifiesDocument, suitable for use with a specified rendering request.
IGetsIterativeExpressionContextProcessor
A factory service for creating instances of IIterativelyProcessesExpressionContexts which use a custom expression context processor.
IGetsRootExpressionContext
A service which creates the root ExpressionContext for a document and rendering request.
IGetsZptDocumentRenderer
An object which may get an instance of IRendersZptDocument for a specified implementation of IReadsAndWritesDocument.
IGetsZptDocumentRendererForFilePath
An object which may get an instance of IRendersZptDocument for a specified file path.
IGetsZptNodeAndAttributeRemovalContextProcessor
An object which gets an implementation of IProcessesExpressionContext which will remove ZPT nodes and attributes from a DOM context.
IHandlesProcessingError
A specialisation of IProcessesExpressionContext which is able to handle errors during the rendering process.
IHasContainer
An object which has a parent/container object.
IIterativelyModifiesDocument
An object which uses an expression-context iterator to iteratively make alterations to the document, on a context-by-context basis.
IIterativelyProcessesExpressionContexts
A service which iterates over expression contexts, beginning with a single context and executing a process over every one of its children. See also: IGetsIterativeExpressionContextProcessor for a factory which may be used to create instances of this type.
IModifiesDocument
A service which coordinates and performs the modifications to a document before it is ready to be output.
IProcessesExpressionContext
A service which processes a single expression context and applies some processing rules.
Enums
TagType
Enumerates the types of DOM node tags.