ZPT-Sharp  v1.0.0
Zope Page Templates for .NET
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
CSF.Zpt.Rendering.ContextVisitorBase Class Referenceabstract

Abstract base logic for implementations of IContextVisitor. More...

Inheritance diagram for CSF.Zpt.Rendering.ContextVisitorBase:
Collaboration diagram for CSF.Zpt.Rendering.ContextVisitorBase:

Public Member Functions

abstract IRenderingContext[] Visit (IRenderingContext context)
 Visit the given context and return a collection of the resultant contexts. More...
 
virtual IRenderingContext[] VisitRecursively (IRenderingContext context)
 Visit the given context, as well as its child contexts, and return a collection of the resultant contexts. More...
 
virtual IRenderingContext[] VisitContext (IRenderingContext context)
 Visits a rendering context and returns a collection of contexts which represent the result of that visit. More...
 

Detailed Description

Abstract base logic for implementations of IContextVisitor.

Member Function Documentation

abstract IRenderingContext [] CSF.Zpt.Rendering.ContextVisitorBase.Visit ( IRenderingContext  context)
pure virtual

Visit the given context and return a collection of the resultant contexts.

Returns
Zero or more IRenderingContext instances, determined by the outcome of this visit.
Parameters
contextThe rendering context to visit.

Implemented in CSF.Zpt.Tal.TalVisitor, CSF.Zpt.Metal.MetalVisitor, CSF.Zpt.SourceAnnotation.SourceAnnotationVisitor, CSF.Zpt.Rendering.NoOpVisitor, and CSF.Zpt.SourceAnnotation.SourceInfoBurnInVisitor.

virtual IRenderingContext [] CSF.Zpt.Rendering.ContextVisitorBase.VisitContext ( IRenderingContext  context)
inlinevirtual

Visits a rendering context and returns a collection of contexts which represent the result of that visit.

Returns
The rendering contexts instances which are exposed after the visiting process is complete.
Parameters
contextThe rendering context to visit.

Implements CSF.Zpt.Rendering.IContextVisitor.

Reimplemented in CSF.Zpt.Metal.MetalTidyUpVisitor, CSF.Zpt.SourceAnnotation.SourceInfoTidyUpVisitor, and CSF.Zpt.Tal.TalTidyUpVisitor.

virtual IRenderingContext [] CSF.Zpt.Rendering.ContextVisitorBase.VisitRecursively ( IRenderingContext  context)
inlinevirtual

Visit the given context, as well as its child contexts, and return a collection of the resultant contexts.

This operation performs the same work as Visit, but it then visits all of the resultant contexts, recursively moving down the exposed document tree, visiting each context in turn.

Returns
Zero or more IRenderingContext instances, determined by the outcome of this visit.
Parameters
contextThe rendering context to visit.

Reimplemented in CSF.Zpt.Tal.TalVisitor.


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