org.apache.cocoon.woody.event.impl
Class JavaClassWidgetListenerBuilder

java.lang.Object
  extended by org.apache.cocoon.woody.event.impl.JavaClassWidgetListenerBuilder
All Implemented Interfaces:
WidgetListenerBuilder

public class JavaClassWidgetListenerBuilder
extends Object
implements WidgetListenerBuilder

A WidgetListenerBuilder that creates java classes.

The syntax for this listener is as follows :

   <java class="com.my.SuperListener"/>
 

Version:
CVS $Id: JavaClassWidgetListenerBuilder.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Sylvain Wallez

Field Summary
static JavaClassWidgetListenerBuilder INSTANCE
           
 
Fields inherited from interface org.apache.cocoon.woody.event.WidgetListenerBuilder
ROLE
 
Constructor Summary
JavaClassWidgetListenerBuilder()
           
 
Method Summary
 WidgetListener buildListener(Element element, Class listenerClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final JavaClassWidgetListenerBuilder INSTANCE
Constructor Detail

JavaClassWidgetListenerBuilder

public JavaClassWidgetListenerBuilder()
Method Detail

buildListener

public WidgetListener buildListener(Element element,
                                    Class listenerClass)
                             throws Exception
Specified by:
buildListener in interface WidgetListenerBuilder
Throws:
Exception


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