org.apache.cocoon.forms.formmodel.algorithms
Class SimpleFormulaBuilder
java.lang.Object
org.apache.cocoon.forms.formmodel.algorithms.AbstractBaseAlgorithmBuilder
org.apache.cocoon.forms.formmodel.algorithms.SimpleFormulaBuilder
- All Implemented Interfaces:
- Contextualizable, LogEnabled, Serviceable, CalculatedFieldAlgorithmBuilder
- Direct Known Subclasses:
- RepeatedFormulaBuilder
public class SimpleFormulaBuilder
- extends AbstractBaseAlgorithmBuilder
Builds a SimpleFormula
algorithm.
The syntax is as follows :
<fd:value type="formula" eval="..."> [triggers="..."]/>
- Version:
- $Id: SimpleFormulaBuilder.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleFormulaBuilder
public SimpleFormulaBuilder()
build
public CalculatedFieldAlgorithm build(Element algorithmElement)
throws Exception
- Throws:
Exception
setupExpression
protected org.outerj.expression.Expression setupExpression(String formula)
throws Exception
- Throws:
Exception
setupExpression
protected void setupExpression(String formula,
SimpleFormula algo)
throws Exception
- Throws:
Exception
service
public void service(ServiceManager serviceManager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Overrides:
service
in class AbstractBaseAlgorithmBuilder
- Throws:
ServiceException
dispose
public void dispose()
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.