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

Implementation of IContextVisitor which adds source annotation comments to a document. More...

Inheritance diagram for CSF.Zpt.SourceAnnotation.SourceAnnotationVisitor:
Collaboration diagram for CSF.Zpt.SourceAnnotation.SourceAnnotationVisitor:

Public Member Functions

override IRenderingContext[] Visit (IRenderingContext context)
 Visit the given context and return a collection of the resultant contexts. More...
 
 SourceAnnotationVisitor ()
 Initializes a new instance of the CSF.Zpt.SourceAnnotation.SourceAnnotationVisitor class. More...
 
 SourceAnnotationVisitor (ISourceAnnotator annotator=null)
 Initializes a new instance of the CSF.Zpt.SourceAnnotation.SourceAnnotationVisitor class. More...
 
- Public Member Functions inherited from CSF.Zpt.Rendering.ContextVisitorBase
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

Implementation of IContextVisitor which adds source annotation comments to a document.

Constructor & Destructor Documentation

CSF.Zpt.SourceAnnotation.SourceAnnotationVisitor.SourceAnnotationVisitor ( )
inline

Initializes a new instance of the CSF.Zpt.SourceAnnotation.SourceAnnotationVisitor class.

CSF.Zpt.SourceAnnotation.SourceAnnotationVisitor.SourceAnnotationVisitor ( ISourceAnnotator  annotator = null)
inline

Initializes a new instance of the CSF.Zpt.SourceAnnotation.SourceAnnotationVisitor class.

Parameters
annotatorThe annotator instance to use.

Member Function Documentation

override IRenderingContext [] CSF.Zpt.SourceAnnotation.SourceAnnotationVisitor.Visit ( IRenderingContext  context)
inlinevirtual

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

Parameters
contextContext.

Reimplemented from CSF.Zpt.Rendering.NoOpVisitor.


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