org.apache.cocoon.woody.expression
Class DefaultExpressionManager

java.lang.Object
  extended by org.apache.cocoon.woody.expression.DefaultExpressionManager
All Implemented Interfaces:
Component, Configurable, ThreadSafe, ExpressionManager

public class DefaultExpressionManager
extends Object
implements ExpressionManager, Component, Configurable, ThreadSafe

Implementation of the ExpressionManager role. Custom functions can be added using configuration elements:

   <function name="MyFunction" class="net.foo.MyFunction"/>
 

Version:
CVS $Id: DefaultExpressionManager.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Field Summary
 
Fields inherited from interface org.apache.cocoon.woody.expression.ExpressionManager
ROLE
 
Constructor Summary
DefaultExpressionManager()
           
 
Method Summary
 void configure(Configuration config)
           
 org.outerj.expression.Expression parse(String expressionString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExpressionManager

public DefaultExpressionManager()
Method Detail

configure

public void configure(Configuration config)
               throws ConfigurationException
Specified by:
configure in interface Configurable
Throws:
ConfigurationException

parse

public org.outerj.expression.Expression parse(String expressionString)
                                       throws org.outerj.expression.ParseException,
                                              org.outerj.expression.ExpressionException
Specified by:
parse in interface ExpressionManager
Throws:
org.outerj.expression.ParseException
org.outerj.expression.ExpressionException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.