org.apache.cocoon.forms.formmodel.algorithms
Class JavaAlgorithmBuilder

java.lang.Object
  extended byorg.apache.cocoon.forms.formmodel.algorithms.AbstractBaseAlgorithmBuilder
      extended byorg.apache.cocoon.forms.formmodel.algorithms.JavaAlgorithmBuilder
All Implemented Interfaces:
BeanFactoryAware, CalculatedFieldAlgorithmBuilder

public class JavaAlgorithmBuilder
extends AbstractBaseAlgorithmBuilder
implements BeanFactoryAware

Builder for user custom CalculatedFieldAlgorithms. If the specified class is a AbstractBaseAlgorithm subclass, the build process will be delegated to AbstractBaseAlgorithmBuilder.

Version:
$Id: JavaAlgorithmBuilder.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
 
Fields inherited from interface org.apache.cocoon.forms.formmodel.CalculatedFieldAlgorithmBuilder
ROLE
 
Constructor Summary
JavaAlgorithmBuilder()
           
 
Method Summary
 CalculatedFieldAlgorithm build(Element algorithmElement)
           
 void setBeanFactory(BeanFactory beanFactory)
           
 
Methods inherited from class org.apache.cocoon.forms.formmodel.algorithms.AbstractBaseAlgorithmBuilder
setup, setupTriggers, setupTriggers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaAlgorithmBuilder

public JavaAlgorithmBuilder()
Method Detail

setBeanFactory

public void setBeanFactory(BeanFactory beanFactory)
                    throws BeansException
Specified by:
setBeanFactory in interface BeanFactoryAware
Throws:
BeansException

build

public CalculatedFieldAlgorithm build(Element algorithmElement)
                               throws Exception
Specified by:
build in interface CalculatedFieldAlgorithmBuilder
Throws:
Exception


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.