org.apache.cocoon.forms.formmodel.tree
Class JavaTreeModelDefinition

java.lang.Object
  extended byorg.apache.cocoon.forms.formmodel.tree.JavaTreeModelDefinition
All Implemented Interfaces:
BeanFactoryAware, TreeModelDefinition

public class JavaTreeModelDefinition
extends Object
implements TreeModelDefinition, BeanFactoryAware

A TreeModelDefinition based on a Spring bean implementing TreeModel.

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

Constructor Summary
JavaTreeModelDefinition()
           
 
Method Summary
 TreeModel createInstance()
           
 void setBeanFactory(BeanFactory beanFactory)
           
 void setModelBeanRef(String beanId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaTreeModelDefinition

public JavaTreeModelDefinition()
Method Detail

setBeanFactory

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

setModelBeanRef

public void setModelBeanRef(String beanId)

createInstance

public TreeModel createInstance()
Specified by:
createInstance in interface TreeModelDefinition


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