NVelocity.Runtime.Directive
Class Parse

Pluggable directive that handles the #parse() statement in VTL. * Notes: ----- 1) The parsed source material can only come from somewhere in the TemplateRoot tree for security reasons. There is no way around this. If you want to include content from elsewhere on your disk, use a link from somwhere under Template Root to that content. * 2) There is a limited parse depth. It is set as a property "parse_directive.maxdepth = 10" for example. There is a 20 iteration safety in the event that the parameter isn't set. *

Fields inherited from class NVelocity.Runtime.Directive.Directive
rsvc

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

Property Summary
string Name
int Type

Properties inherited from class NVelocity.Runtime.Directive.Directive
Column, Line

Method Summary
bool render(NVelocity.Context.InternalContextAdapter context, System.IO.TextWriter writer, NVelocity.Runtime.Parser.Node.INode node)
         iterates through the argument list and renders every argument that is appropriate. Any non appropriate arguments are logged, but render() continues.

Methods inherited from class NVelocity.Runtime.Directive.Directive
init, setLocation

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


Constructor Detail

Parse

public Parse()

Initializes a new instance of the Parse class.

Property Detail

Name

public string Name


Type

public int Type

Method Detail

render

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

iterates through the argument list and renders every argument that is appropriate. Any non appropriate arguments are logged, but render() continues.