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:
- 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 1304280 2012-03-23 11:18:01Z 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
setExpressionManager
public void setExpressionManager(ExpressionManager expressionManager)
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.