Package org.glassfish.expressly.lang
Class ExpressionBuilder
- java.lang.Object
-
- org.glassfish.expressly.lang.ExpressionBuilder
-
- All Implemented Interfaces:
NodeVisitor
public final class ExpressionBuilder extends Object implements NodeVisitor
- Version:
- $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: kchung $
- Author:
- Jacob Hookom [jacob@hookom.net], Kin-man Chung // EL cache
-
-
Constructor Summary
Constructors Constructor Description ExpressionBuilder(String expression, ELContext ctx)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodExpressioncreateMethodExpression(Class<?> expectedReturnType, Class<?>[] expectedParamTypes)static NodecreateNode(String expr)ValueExpressioncreateValueExpression(Class<?> expectedType)voidvisit(Node node)
-
-
-
Constructor Detail
-
ExpressionBuilder
public ExpressionBuilder(String expression, ELContext ctx) throws ELException
- Throws:
ELException
-
-
Method Detail
-
createNode
public static Node createNode(String expr) throws ELException
- Throws:
ELException
-
visit
public void visit(Node node) throws ELException
- Specified by:
visitin interfaceNodeVisitor- Throws:
ELException
-
createValueExpression
public ValueExpression createValueExpression(Class<?> expectedType) throws ELException
- Throws:
ELException
-
createMethodExpression
public MethodExpression createMethodExpression(Class<?> expectedReturnType, Class<?>[] expectedParamTypes) throws ELException
- Throws:
ELException
-
-