|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.velocity.runtime.parser.node.NodeUtils
public class NodeUtils
Utilities for dealing with the AST node structure.
Constructor Summary | |
---|---|
NodeUtils()
|
Method Summary | |
---|---|
static StrBuilder |
getSpecialText(Token t)
Collect all the |
static java.lang.String |
interpolate(java.lang.String argStr,
Context vars)
Deprecated. this method isn't called by any class |
static java.lang.String |
specialText(Token t)
Deprecated. use getSpecialText(Token t) |
static java.lang.String |
tokenLiteral(Token t)
complete node literal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeUtils()
Method Detail |
---|
public static java.lang.String specialText(Token t)
public static StrBuilder getSpecialText(Token t)
t
- the Token
public static java.lang.String tokenLiteral(Token t)
t
-
public static java.lang.String interpolate(java.lang.String argStr, Context vars) throws MethodInvocationException
argStr
- vars
-
MethodInvocationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |