org.apache.cocoon.forms.formmodel
Class CaptchaDefinitionBuilder
java.lang.Object
org.apache.cocoon.forms.formmodel.AbstractWidgetDefinitionBuilder
org.apache.cocoon.forms.formmodel.AbstractDatatypeWidgetDefinitionBuilder
org.apache.cocoon.forms.formmodel.CaptchaDefinitionBuilder
- All Implemented Interfaces:
- Disposable, Contextualizable, Serviceable, ThreadSafe, WidgetDefinitionBuilder
public class CaptchaDefinitionBuilder
- extends AbstractDatatypeWidgetDefinitionBuilder
- implements Contextualizable, ThreadSafe
Builds CaptchaFieldDefinition
s.
- Version:
- $Id: CaptchaDefinitionBuilder.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- See Also:
- www.captcha.net
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CaptchaDefinitionBuilder
public CaptchaDefinitionBuilder()
contextualize
public void contextualize(Context context)
throws ContextException
- Specified by:
contextualize
in interface Contextualizable
- Throws:
ContextException
buildWidgetDefinition
public WidgetDefinition buildWidgetDefinition(Element widgetElement,
WidgetDefinitionBuilderContext context)
throws Exception
- Specified by:
buildWidgetDefinition
in interface WidgetDefinitionBuilder
- Throws:
Exception
setupDefinition
protected void setupDefinition(Element widgetElement,
FieldDefinition definition,
WidgetDefinitionBuilderContext context)
throws Exception
- Throws:
Exception
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.