|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object freemarker.template.expression.ExpressionBuilder
public final class ExpressionBuilder
A TemplateParser can use this class's static buildExpression(java.util.List
method to build a complete Expression
or sub-expression from a
List of Expression
s.
Nested Class Summary | |
---|---|
static class |
ExpressionBuilder.Precedence
Order of operator precedence. |
Method Summary | |
---|---|
static Expression |
buildExpression(java.util.List<Expression> elements)
Builds an Expression or sub-Expression . |
static Variable |
buildVariable(java.util.List<Variable> elements)
Builds a complete Variable . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Expression buildExpression(java.util.List<Expression> elements) throws ParseException
Expression
or sub-Expression
.
elements
- a List
of ExpressionElements
.
Expression
or
sub-Expression
.
ParseException
- the builder could not create a valid Expression
public static Variable buildVariable(java.util.List<Variable> elements) throws ParseException
Variable
.
elements
- a List
of ExpressionElements
.
Variable
.
ParseException
- the builder could not create a valid Variable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |