org.formproc.validation
Class ValidatorMapEntry

java.lang.Object
  |
  +--org.formproc.validation.ValidatorMapEntry

public class ValidatorMapEntry
extends java.lang.Object

Class representing a single validator map entry which has a reference to the validator class as well as system-wide properties for that validator.

Author:
Anthony Eden

Constructor Summary
ValidatorMapEntry(java.lang.Class validatorClass)
          Construct a ValidatorMapEntry.
 
Method Summary
 void configure(com.anthonyeden.lib.config.Configuration configuration)
          Configure the ValidatorMapEntry by loading all properties for that Validator.
 java.util.Map getProperties()
          Get a Map of properties for the given Validator.
 java.lang.Class getValidatorClass()
          Get the validator class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatorMapEntry

public ValidatorMapEntry(java.lang.Class validatorClass)
Construct a ValidatorMapEntry.

Parameters:
validatorClass - The Validator class
Method Detail

getProperties

public java.util.Map getProperties()
Get a Map of properties for the given Validator.

Returns:
A Map of properties

getValidatorClass

public java.lang.Class getValidatorClass()
Get the validator class.

Returns:
The Validator class

configure

public void configure(com.anthonyeden.lib.config.Configuration configuration)
Configure the ValidatorMapEntry by loading all properties for that Validator.

Parameters:
configuration - The configuration object


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