This project has retired. For details please refer to its
Attic page .
AbstractJavaValidator (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.forms.validation.impl
Class AbstractJavaValidator
java.lang.Object
org.apache.cocoon.forms.validation.impl.AbstractJavaValidator
All Implemented Interfaces: Configurable
public abstract class AbstractJavaValidator extends Object implements Configurable
Abstract base class for implementing an own Java validator which gets build by
the JavaClassValidatorBuilder
.
Version:
$Id: AbstractJavaValidator.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
validationError
protected ValidationError validationError
AbstractJavaValidator
public AbstractJavaValidator ()
configure
public void configure (Configuration config)
throws ConfigurationException
Specified by: configure
in interface Configurable
Throws:
ConfigurationException
See Also: Configurable.configure(org.apache.avalon.framework.configuration.Configuration)
buildFailMessage
protected ValidationError buildFailMessage (Element validationRuleElement)
Checks if the validation rule configuration contains a custom failmessage, and if so,
sets it one the ValidationRule.
getDefaultFailMessage
protected abstract ValidationError getDefaultFailMessage ()
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.