|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.velocity.runtime.parser.node.NodeUtils
public class NodeUtils
Utilities for dealing with the AST node structure.
Constructor Summary | |
---|---|
NodeUtils()
|
Method Summary | |
---|---|
static String |
interpolate(String argStr,
Context vars)
Utility method to interpolate context variables into string literals. |
static String |
specialText(Token t)
Collect all the |
static 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 String specialText(Token t)
t
-
public static String tokenLiteral(Token t)
t
-
public static String interpolate(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 |