|
ZPT-Sharp
v1.0.0
Zope Page Templates for .NET
|
Interface for a rendering context. More...


Public Member Functions | |
| IRenderingContext[] | GetChildContexts () |
| Creates and returns a collection of child contexts, from the current instance. More... | |
| IRenderingContext | CreateSiblingContext (IZptElement element, bool cloneAttributes=false) |
| Creates and returns a new sibling rendering context. More... | |
| IZptAttribute | GetAttribute (ZptNamespace nspace, string attributeName) |
| Gets an attribute matching the given namespace and attribute name. More... | |
| OriginalAttributeValuesCollection | GetOriginalAttributes () |
| Gets the original attributes present upon the element wrapped by the current instance. More... | |
| void | CopyTo (IModelValueContainer container) |
| Copies the state of the current instance to a model value container. More... | |
Properties | |
| new IModel | MetalModel [get] |
| Gets the object model available to the METAL environment. More... | |
| new IModel | TalModel [get] |
| Gets the object model available to the TAL environment. More... | |
| IZptElement | Element [get] |
| Gets the ZPT element. More... | |
| IRenderingSettings | RenderingOptions [get] |
| Gets the rendering options. More... | |
| string | SourceAnnotationRootPath [get] |
| Gets the 'virtual' root path for the purpose of source annotation comments. More... | |
Properties inherited from CSF.Zpt.Rendering.IModelValueContainer | |
| IModelValueStore | MetalModel [get] |
| Exposes access to the METAL model instance, for addition of data. More... | |
| IModelValueStore | TalModel [get] |
| Exposes access to the TAL model instance, for addition of data. More... | |
Interface for a rendering context.
| void CSF.Zpt.Rendering.IRenderingContext.CopyTo | ( | IModelValueContainer | container | ) |
Copies the state of the current instance to a model value container.
| container | The container. |
Implemented in CSF.Zpt.Rendering.RenderingContext.
| IRenderingContext CSF.Zpt.Rendering.IRenderingContext.CreateSiblingContext | ( | IZptElement | element, |
| bool | cloneAttributes = false |
||
| ) |
Creates and returns a new sibling rendering context.
| element | The ZPT element for which the new context is to be created. |
| cloneAttributes | A value indicating whether or not the element's attributes should be cloned or not. |
Implemented in CSF.Zpt.Rendering.RenderingContext.
| IZptAttribute CSF.Zpt.Rendering.IRenderingContext.GetAttribute | ( | ZptNamespace | nspace, |
| string | attributeName | ||
| ) |
Gets an attribute matching the given namespace and attribute name.
null reference if no attribute is found.| nspace | The attribute namespace. |
| attributeName | The attribute name. |
Implemented in CSF.Zpt.Rendering.RenderingContext.
| IRenderingContext [] CSF.Zpt.Rendering.IRenderingContext.GetChildContexts | ( | ) |
Creates and returns a collection of child contexts, from the current instance.
Implemented in CSF.Zpt.Rendering.RenderingContext.
| OriginalAttributeValuesCollection CSF.Zpt.Rendering.IRenderingContext.GetOriginalAttributes | ( | ) |
Gets the original attributes present upon the element wrapped by the current instance.
Implemented in CSF.Zpt.Rendering.RenderingContext.
|
get |
Gets the ZPT element.
The element.
|
get |
Gets the object model available to the METAL environment.
The METAL model.
|
get |
Gets the rendering options.
The rendering options.
|
get |
Gets the 'virtual' root path for the purpose of source annotation comments.
The source annotation root path.
|
get |
Gets the object model available to the TAL environment.
The TAL model.