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

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.forms.formmodel.tree.JavaTreeModelDefinition
All Implemented Interfaces:
Contextualizable, LogEnabled, Serviceable, TreeModelDefinition

public class JavaTreeModelDefinition
extends AbstractLogEnabled
implements TreeModelDefinition, Contextualizable, Serviceable

A TreeModelDefinition based on an Java class implementing TreeModel.

Version:
$Id: JavaTreeModelDefinition.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Constructor Summary
JavaTreeModelDefinition()
           
 
Method Summary
 void contextualize(Context context)
           
 TreeModel createInstance()
           
 void service(ServiceManager manager)
           
 void setModelClass(Class clazz)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
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

contextualize

public void contextualize(Context context)
                   throws ContextException
Specified by:
contextualize in interface Contextualizable
Throws:
ContextException

service

public void service(ServiceManager manager)
             throws ServiceException
Specified by:
service in interface Serviceable
Throws:
ServiceException

setModelClass

public void setModelClass(Class clazz)

createInstance

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


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.