org.apache.cocoon.components.expression
Class ExpressionFactory
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.expression.ExpressionFactory
- All Implemented Interfaces:
- Disposable, LogEnabled, Serviceable, ThreadSafe
- public class ExpressionFactory
- extends AbstractLogEnabled
- implements Disposable, Serviceable, ThreadSafe
- Version:
- SVN $Id: ExpressionFactory.java 325973 2005-10-17 19:59:39Z lgawron $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROLE
public static String ROLE
DEFAULT_EXPRESSION_LANGUAGE
public static String DEFAULT_EXPRESSION_LANGUAGE
manager
protected ServiceManager manager
- The component manager
compilerSelector
protected ServiceSelector compilerSelector
- The Expression compiler selector
ExpressionFactory
public ExpressionFactory()
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
getExpression
public Expression getExpression(String language,
String expression)
throws ExpressionException
- Throws:
ExpressionException
getExpression
public Expression getExpression(String expression)
throws ExpressionException
- Throws:
ExpressionException
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.