org.apache.velocity.runtime.parser.node

Class ASTEscape

public class ASTEscape extends SimpleNode

This class is responsible for handling Escapes in VTL. Please look at the Parser.jjt file which is what controls the generation of this class.

Version: $Id: ASTEscape.java,v 1.6.4.1 2004/03/03 23:22:58 geirm Exp $

Author: Geir Magnusson Jr.

Field Summary
char[]ctext
Stringval
Constructor Summary
ASTEscape(int id)
ASTEscape(Parser p, int id)
Method Summary
Objectinit(InternalContextAdapter context, Object data)
ObjectjjtAccept(ParserVisitor visitor, Object data)
Accept the visitor.
booleanrender(InternalContextAdapter context, Writer writer)

Field Detail

ctext

private char[] ctext

val

public String val

Constructor Detail

ASTEscape

public ASTEscape(int id)

ASTEscape

public ASTEscape(Parser p, int id)

Method Detail

init

public Object init(InternalContextAdapter context, Object data)

jjtAccept

public Object jjtAccept(ParserVisitor visitor, Object data)
Accept the visitor. *

render

public boolean render(InternalContextAdapter context, Writer writer)
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.