org.formproc.validation
Class AbstractRule

java.lang.Object
  |
  +--org.formproc.validation.AbstractRule
All Implemented Interfaces:
Rule
Direct Known Subclasses:
IsIntRule

public abstract class AbstractRule
extends java.lang.Object
implements Rule

Abstract base class which implements the Rule interface.

Author:
Anthony Eden

Constructor Summary
AbstractRule()
           
 
Method Summary
 void configure(com.anthonyeden.lib.config.Configuration configuration)
          Configure the rule.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.formproc.validation.Rule
validate
 

Constructor Detail

AbstractRule

public AbstractRule()
Method Detail

configure

public void configure(com.anthonyeden.lib.config.Configuration configuration)
               throws java.lang.Exception
Configure the rule. Subclasses can override this method if they require configuration.

Specified by:
configure in interface Rule
Parameters:
configuration - The configuration object
Throws:
java.lang.Exception


Copyright (c) 2001-2003 Anthony Eden. All Rights Reserved.