NVelocity.Runtime.Directive
Class Directive

Base class for all directives used in Velocity. *

Field Summary
NVelocity.Runtime.RuntimeServices rsvc

Constructor Summary
Directive()
        Initializes a new instance of the Directive class.

Property Summary
int Column
int Line
string Name
int Type

Method Summary
void init(NVelocity.Runtime.RuntimeServices rs, NVelocity.Context.InternalContextAdapter context, NVelocity.Runtime.Parser.Node.INode node)
         How this directive is to be initialized.
bool render(NVelocity.Context.InternalContextAdapter context, System.IO.TextWriter writer, NVelocity.Runtime.Parser.Node.INode node)
         How this directive is to be rendered
void setLocation(int line, int column)
        Allows the template location to be set

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Field Detail

rsvc

protected internal NVelocity.Runtime.RuntimeServices rsvc

Constructor Detail

Directive

protected Directive()

Initializes a new instance of the Directive class.

Property Detail

Column

public int Column


Line

public int Line


Name

public string Name


Type

public int Type

Method Detail

init

public void init(NVelocity.Runtime.RuntimeServices rs,
                 NVelocity.Context.InternalContextAdapter context,
                 NVelocity.Runtime.Parser.Node.INode node)

How this directive is to be initialized.


render

public bool render(NVelocity.Context.InternalContextAdapter context,
                   System.IO.TextWriter writer,
                   NVelocity.Runtime.Parser.Node.INode node)

How this directive is to be rendered


setLocation

public void setLocation(int line,
                        int column)

Allows the template location to be set