org.apache.velocity.runtime.parser.node
public class ASTStringLiteral extends SimpleNode
Version: $Id: ASTStringLiteral.java,v 1.17.4.1 2004/03/03 23:22:59 geirm Exp $
Field Summary | |
---|---|
String | image |
boolean | interpolate |
String | interpolateimage |
SimpleNode | nodeTree |
Constructor Summary | |
---|---|
ASTStringLiteral(int id) | |
ASTStringLiteral(Parser p, int id) |
Method Summary | |
---|---|
Object | init(InternalContextAdapter context, Object data)
init : we don't have to do much. |
Object | jjtAccept(ParserVisitor visitor, Object data) Accept the visitor. |
Object | value(InternalContextAdapter context)
renders the value of the string literal
If the properties allow, and the string literal contains a $ or a #
the literal is rendered against the context
Otherwise, the stringlit is returned. |