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

Implementation of IZptDocumentProvider which creates XML documents based on System.Xml.Linq.XDocument. More...

Inheritance diagram for CSF.Zpt.DocumentProviders.XmlLinqZptDocumentProvider:
Collaboration diagram for CSF.Zpt.DocumentProviders.XmlLinqZptDocumentProvider:

Public Member Functions

IZptDocument CreateDocument (System.Xml.Linq.XDocument xmlDocument, ISourceInfo sourceInfo)
 Creates a document from an XDocument object and information about the source of the document. More...
 
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...
 
 XmlLinqZptDocumentProvider ()
 Initializes a new instance of the CSF.Zpt.DocumentProviders.XmlLinqZptDocumentProvider class. More...
 

Detailed Description

Implementation of IZptDocumentProvider which creates XML documents based on System.Xml.Linq.XDocument.

Constructor & Destructor Documentation

CSF.Zpt.DocumentProviders.XmlLinqZptDocumentProvider.XmlLinqZptDocumentProvider ( )
inline

Initializes a new instance of the CSF.Zpt.DocumentProviders.XmlLinqZptDocumentProvider class.

Member Function Documentation

IZptDocument CSF.Zpt.DocumentProviders.XmlLinqZptDocumentProvider.CreateDocument ( System.Xml.Linq.XDocument  xmlDocument,
ISourceInfo  sourceInfo 
)
inline

Creates a document from an XDocument object and information about the source of the document.

Returns
The ZPT document implementation.
Parameters
xmlDocumentAn XML document.
sourceInfoThe source info.
IZptDocument CSF.Zpt.DocumentProviders.XmlLinqZptDocumentProvider.CreateDocument ( FileInfo  sourceFile,
Encoding  encoding 
)
inline

Creates a document from a source file.

Returns
The document.
Parameters
sourceFileSource file.
encodingEncoding.

Implements CSF.Zpt.IZptDocumentProvider.

IZptDocument CSF.Zpt.DocumentProviders.XmlLinqZptDocumentProvider.CreateDocument ( Stream  sourceStream,
ISourceInfo  sourceInfo,
Encoding  encoding 
)
inline

Creates a document from a stream.

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

Implements CSF.Zpt.IZptDocumentProvider.

RenderingMode CSF.Zpt.DocumentProviders.XmlLinqZptDocumentProvider.GetRenderingMode ( )
inline

Gets the rendering mode for documents created by this provider.

Returns
The rendering mode.

Implements CSF.Zpt.IZptDocumentProvider.


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