Implementation of ZptDocument based on a System.Xml.Linq.XDocument.
More...
|
| XDocument | RenderXml (IRenderingSettings options=null, Action< IModelValueContainer > contextConfigurator=null) |
| | Renders the document to an System.Xml.XmlDocument instance. More...
|
| |
| XDocument | RenderXml (object model, IRenderingSettings options=null, Action< IModelValueContainer > contextConfigurator=null) |
| | Renders the document to an System.Xml.XmlDocument instance. More...
|
| |
| override IMetalMacroContainer | GetMacros () |
| | Gets a collection of elements in the document which are defined as METAL macros. More...
|
| |
| override ISourceInfo | GetSourceInfo () |
| | Gets information about the source medium for the current instance More...
|
| |
| | ZptXmlLinqDocument (XDocument document, ISourceInfo sourceFile, IElementRenderer elementRenderer=null) |
| | Initializes a new instance of the CSF.Zpt.DocumentProviders.ZptXmlLinqDocument class. More...
|
| |
| virtual string | Render (IRenderingSettings options=null, Action< IModelValueContainer > contextConfigurator=null) |
| | Renders the document to a System.String. More...
|
| |
| virtual void | Render (TextWriter writer, IRenderingSettings options=null, Action< IModelValueContainer > contextConfigurator=null) |
| | Renders the document to the given System.IO.TextWriter. More...
|
| |
| virtual string | Render (object model, IRenderingSettings options=null, Action< IModelValueContainer > contextConfigurator=null) |
| | Renders the document to a System.String. More...
|
| |
| virtual void | Render (object model, TextWriter writer, IRenderingSettings options=null, Action< IModelValueContainer > contextConfigurator=null) |
| | Renders the document to the given System.IO.TextWriter. More...
|
| |
| | ZptDocument (IElementRenderer elementRenderer=null) |
| | Initializes a new instance of the CSF.Zpt.ZptDocument class. More...
|
| |
Implementation of ZptDocument based on a System.Xml.Linq.XDocument.
| CSF.Zpt.DocumentProviders.ZptXmlLinqDocument.ZptXmlLinqDocument |
( |
XDocument |
document, |
|
|
ISourceInfo |
sourceFile, |
|
|
IElementRenderer |
elementRenderer = null |
|
) |
| |
|
inline |
Initializes a new instance of the CSF.Zpt.DocumentProviders.ZptXmlLinqDocument class.
- Parameters
-
| document | An XML document from which to create the current instance. |
| sourceFile | Information about the document's source file. |
| elementRenderer | The element renderer. |
| override IRenderingSettings CSF.Zpt.DocumentProviders.ZptXmlLinqDocument.GetDefaultOptions |
( |
| ) |
|
|
inlineprotectedvirtual |
Gets an instance of IRenderingSettings which represents the default options.
- Returns
- The default options.
Implements CSF.Zpt.ZptDocument.
Gets a collection of elements in the document which are defined as METAL macros.
- Returns
- Elements representing the METAL macros.
Implements CSF.Zpt.ZptDocument.
| override IZptElement CSF.Zpt.DocumentProviders.ZptXmlLinqDocument.GetRootElement |
( |
| ) |
|
|
inlineprotectedvirtual |
Creates a rendering model from the current instance.
- Returns
- The rendering model.
Implements CSF.Zpt.ZptDocument.
| override ISourceInfo CSF.Zpt.DocumentProviders.ZptXmlLinqDocument.GetSourceInfo |
( |
| ) |
|
|
inlinevirtual |
Gets information about the source medium for the current instance
- Returns
- The source info.
Implements CSF.Zpt.ZptDocument.
Renders an element to the given System.IO.TextWriter.
- Parameters
-
| writer | The text writer to render to. |
| element | The element to render. |
| options | The rendering options to use. If null then default options are used. |
Implements CSF.Zpt.ZptDocument.
Renders the document to an System.Xml.XmlDocument instance.
- Returns
- The rendered XML document.
- Parameters
-
| options | The rendering options to use. If null then default options are used. |
| contextConfigurator | An optional action to perform upon the root IModelValueContainer, to configure it. |
Renders the document to an System.Xml.XmlDocument instance.
- Returns
- The rendered XML document.
- Parameters
-
| model | An object for which the ZPT document is to be applied. |
| options | The rendering options to use. If null then default options are used. |
| contextConfigurator | An optional action to perform upon the root IModelValueContainer, to configure it. |
| virtual XDocument CSF.Zpt.DocumentProviders.ZptXmlLinqDocument.Document |
|
get |
Gets the original XML document.
The original XML document.
| override RenderingMode CSF.Zpt.DocumentProviders.ZptXmlLinqDocument.Mode |
|
get |
Gets the RenderingMode for which the current document type caters.
The rendering mode.
| virtual ISourceInfo CSF.Zpt.DocumentProviders.ZptXmlLinqDocument.SourceFile |
|
get |
Gets information about the document's source file.
The source file.
The documentation for this class was generated from the following file:
- /home/craig/Projects/CSF.Zpt/DocumentProviders/CSF.Zpt.DocumentProviders.XmlLinq/ZptXmlLinqDocument.cs