| java.lang.Object org.apache.velocity.runtime.parser.node.SimpleNode org.apache.velocity.runtime.parser.node.ASTReference
ASTReference | public ASTReference(int id)(Code) | | Parameters: id - |
ASTReference | public ASTReference(Parser p, int id)(Code) | | Parameters: p - Parameters: id - |
getRootString | public String getRootString()(Code) | | Returns the 'root string', the reference key
the root string. |
literal | public String literal()(Code) | | Override of the SimpleNode method literal()
Returns the literal representation of the
node. Should be something like
$.
A literal string. |
setLiteral | public void setLiteral(String literal)(Code) | | Routine to allow the literal representation to be
externally overridden. Used now in the VM system
to override a reference in a VM tree with the
literal of the calling arg to make it work nicely
when calling arg is null. It seems a bit much, but
does keep things consistant.
Note, you can only set the literal once...
Parameters: literal - String to render to when null |
|
|