org.apache.fulcrum.intake.validator
Interface InitableByConstraintMap

All Known Implementing Classes:
BigDecimalValidator, BooleanValidator, DateRangeValidator, DateStringValidator, DefaultValidator, DoubleValidator, FileValidator, FloatValidator, IntegerRangeValidator, IntegerValidator, LongValidator, ShortValidator, StringValidator

public interface InitableByConstraintMap

This interface marks a bean/class that can have its properties set by values in a Map.

Version:
$Id: InitableByConstraintMap.java 535465 2007-05-05 06:58:06Z tv $
Author:
John McNally

Method Summary
 void init(Map inputParameters)
          Extract the relevant parameters from the constraints listed in tags within the intake.xml file.
 

Method Detail

init

void init(Map inputParameters)
          throws InvalidMaskException
Extract the relevant parameters from the constraints listed in tags within the intake.xml file.

Parameters:
inputParameters - a Map of Constraint's containing rules and error messages.
Throws:
InvalidMaskException - one of the mask rules is invalid


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.