|
.NET Framework |
PREV TYPE NEXT TYPE |
FRAMES NO FRAMES |
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT |
DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
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. |
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 |
Parse
public Parse()
-
Initializes a new instance of the Parse class.
Name
public string Name
-
Type
public int Type
-
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.
|
.NET Framework |
PREV TYPE NEXT TYPE |
FRAMES NO FRAMES |
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT |
DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |