org.apache.el.lang.ExpressionBuilder Java Examples

The following examples show how to use org.apache.el.lang.ExpressionBuilder. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ExpressionFactoryImpl.java    From Tomcat8-Source-Read with MIT License 5 votes vote down vote up
@Override
public MethodExpression createMethodExpression(ELContext context,
        String expression, Class<?> expectedReturnType,
        Class<?>[] expectedParamTypes) {
    ExpressionBuilder builder = new ExpressionBuilder(expression, context);
    return builder.createMethodExpression(expectedReturnType,
            expectedParamTypes);
}
 
Example #2
Source File: ExpressionFactoryImpl.java    From Tomcat8-Source-Read with MIT License 5 votes vote down vote up
@Override
public ValueExpression createValueExpression(ELContext context,
        String expression, Class<?> expectedType) {
    if (expectedType == null) {
        throw new NullPointerException(MessageFactory
                .get("error.value.expectedType"));
    }
    ExpressionBuilder builder = new ExpressionBuilder(expression, context);
    return builder.createValueExpression(expectedType);
}
 
Example #3
Source File: ExpressionFactoryImpl.java    From Tomcat7.0.67 with Apache License 2.0 5 votes vote down vote up
@Override
public MethodExpression createMethodExpression(ELContext context,
        String expression, Class<?> expectedReturnType,
        Class<?>[] expectedParamTypes) {
    ExpressionBuilder builder = new ExpressionBuilder(expression, context);
    return builder.createMethodExpression(expectedReturnType,
            expectedParamTypes);
}
 
Example #4
Source File: ExpressionFactoryImpl.java    From Tomcat7.0.67 with Apache License 2.0 5 votes vote down vote up
@Override
public ValueExpression createValueExpression(ELContext context,
        String expression, Class<?> expectedType) {
    if (expectedType == null) {
        throw new NullPointerException(MessageFactory
                .get("error.value.expectedType"));
    }
    ExpressionBuilder builder = new ExpressionBuilder(expression, context);
    return builder.createValueExpression(expectedType);
}
 
Example #5
Source File: ExpressionFactoryImpl.java    From tomcatsrc with Apache License 2.0 5 votes vote down vote up
@Override
public MethodExpression createMethodExpression(ELContext context,
        String expression, Class<?> expectedReturnType,
        Class<?>[] expectedParamTypes) {
    ExpressionBuilder builder = new ExpressionBuilder(expression, context);
    return builder.createMethodExpression(expectedReturnType,
            expectedParamTypes);
}
 
Example #6
Source File: ExpressionFactoryImpl.java    From tomcatsrc with Apache License 2.0 5 votes vote down vote up
@Override
public ValueExpression createValueExpression(ELContext context,
        String expression, Class<?> expectedType) {
    if (expectedType == null) {
        throw new NullPointerException(MessageFactory
                .get("error.value.expectedType"));
    }
    ExpressionBuilder builder = new ExpressionBuilder(expression, context);
    return builder.createValueExpression(expectedType);
}
 
Example #7
Source File: MethodExpressionImpl.java    From Tomcat8-Source-Read with MIT License 4 votes vote down vote up
private Node getNode() throws ELException {
    if (this.node == null) {
        this.node = ExpressionBuilder.createNode(this.expr);
    }
    return this.node;
}
 
Example #8
Source File: ValueExpressionImpl.java    From Tomcat8-Source-Read with MIT License 4 votes vote down vote up
private Node getNode() throws ELException {
    if (this.node == null) {
        this.node = ExpressionBuilder.createNode(this.expr);
    }
    return this.node;
}
 
Example #9
Source File: MethodExpressionImpl.java    From Tomcat7.0.67 with Apache License 2.0 4 votes vote down vote up
private Node getNode() throws ELException {
    if (this.node == null) {
        this.node = ExpressionBuilder.createNode(this.expr);
    }
    return this.node;
}
 
Example #10
Source File: ValueExpressionImpl.java    From Tomcat7.0.67 with Apache License 2.0 4 votes vote down vote up
private Node getNode() throws ELException {
    if (this.node == null) {
        this.node = ExpressionBuilder.createNode(this.expr);
    }
    return this.node;
}
 
Example #11
Source File: MethodExpressionImpl.java    From tomcatsrc with Apache License 2.0 4 votes vote down vote up
private Node getNode() throws ELException {
    if (this.node == null) {
        this.node = ExpressionBuilder.createNode(this.expr);
    }
    return this.node;
}
 
Example #12
Source File: ValueExpressionImpl.java    From tomcatsrc with Apache License 2.0 4 votes vote down vote up
private Node getNode() throws ELException {
    if (this.node == null) {
        this.node = ExpressionBuilder.createNode(this.expr);
    }
    return this.node;
}