Package org.apache.cocoon.el

Examples of org.apache.cocoon.el.ExpressionCompiler


    protected Map expressionCompilers;

    public Expression getExpression(String language, String expression) throws ExpressionException {
        if (!this.expressionCompilers.containsKey(language))
            throw new ExpressionException("Can't find a compiler for " + language);
        ExpressionCompiler compiler = (ExpressionCompiler) this.expressionCompilers.get(language);
        return compiler.compile(language, expression);
    }
View Full Code Here

TOP

Related Classes of org.apache.cocoon.el.ExpressionCompiler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.