Implementation of ZptDocument based on a System.Xml.XmlDocument
.
More...
|
XmlDocument | RenderXml (IRenderingSettings options=null, Action< IModelValueContainer > contextConfigurator=null) |
| Renders the document to an System.Xml.XmlDocument instance. More...
|
|
XmlDocument | 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...
|
|
| ZptXmlDocument (XmlDocument document, ISourceInfo sourceFile, IElementRenderer elementRenderer=null) |
| Initializes a new instance of the CSF.Zpt.DocumentProviders.ZptXmlDocument 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.XmlDocument
.
CSF.Zpt.DocumentProviders.ZptXmlDocument.ZptXmlDocument |
( |
XmlDocument |
document, |
|
|
ISourceInfo |
sourceFile, |
|
|
IElementRenderer |
elementRenderer = null |
|
) |
| |
|
inline |
Initializes a new instance of the CSF.Zpt.DocumentProviders.ZptXmlDocument 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.ZptXmlDocument.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.ZptXmlDocument.GetRootElement |
( |
| ) |
|
|
inlineprotectedvirtual |
Creates a rendering model from the current instance.
- Returns
- The rendering model.
Implements CSF.Zpt.ZptDocument.
override ISourceInfo CSF.Zpt.DocumentProviders.ZptXmlDocument.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 XmlDocument CSF.Zpt.DocumentProviders.ZptXmlDocument.Document |
|
get |
Gets the original XML document.
The original XML document.
string CSF.Zpt.DocumentProviders.ZptXmlDocument.IndentationCharacters |
|
getset |
Gets or sets a character string representing the indentation.
The indentation characters.
bool CSF.Zpt.DocumentProviders.ZptXmlDocument.IndentOutput |
|
getset |
Gets or sets a value indicating whether to output indented XML or not.
true
if the rendered output should be indented; otherwise, false
.
override RenderingMode CSF.Zpt.DocumentProviders.ZptXmlDocument.Mode |
|
get |
Gets the RenderingMode for which the current document type caters.
The rendering mode.
virtual ISourceInfo CSF.Zpt.DocumentProviders.ZptXmlDocument.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.XmlLegacy/ZptXmlDocument.cs