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

Interface for a type which creates IZptDocument implementations. More...

Inheritance diagram for CSF.Zpt.IZptDocumentProvider:

Public Member Functions

RenderingMode GetRenderingMode ()
 Gets the rendering mode for documents created by this provider. More...
 
IZptDocument CreateDocument (FileInfo sourceFile, Encoding encoding)
 Creates a document from a source file. More...
 
IZptDocument CreateDocument (Stream sourceStream, ISourceInfo sourceInfo, Encoding encoding)
 Creates a document from a stream. More...
 

Detailed Description

Interface for a type which creates IZptDocument implementations.

Member Function Documentation

IZptDocument CSF.Zpt.IZptDocumentProvider.CreateDocument ( FileInfo  sourceFile,
Encoding  encoding 
)

Creates a document from a source file.

Returns
The document.
Parameters
sourceFileSource file.
encodingEncoding.

Implemented in CSF.Zpt.DocumentProviders.LegacyXmlZptDocumentProvider, CSF.Zpt.DocumentProviders.XmlLinqZptDocumentProvider, and CSF.Zpt.DocumentProviders.HtmlZptDocumentProvider.

IZptDocument CSF.Zpt.IZptDocumentProvider.CreateDocument ( Stream  sourceStream,
ISourceInfo  sourceInfo,
Encoding  encoding 
)

Creates a document from a stream.

Returns
The document.
Parameters
sourceStreamSource stream.
sourceInfoSource info.
encodingEncoding.

Implemented in CSF.Zpt.DocumentProviders.LegacyXmlZptDocumentProvider, CSF.Zpt.DocumentProviders.XmlLinqZptDocumentProvider, and CSF.Zpt.DocumentProviders.HtmlZptDocumentProvider.

RenderingMode CSF.Zpt.IZptDocumentProvider.GetRenderingMode ( )

Gets the rendering mode for documents created by this provider.

Returns
The rendering mode.

Implemented in CSF.Zpt.DocumentProviders.LegacyXmlZptDocumentProvider, CSF.Zpt.DocumentProviders.XmlLinqZptDocumentProvider, and CSF.Zpt.DocumentProviders.HtmlZptDocumentProvider.


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