com.servingxml.components.recordio
Class FieldValidator

java.lang.Object
  extended by com.servingxml.components.recordio.FieldValidator
All Implemented Interfaces:
Validator

public class FieldValidator
extends java.lang.Object
implements Validator


Constructor Summary
FieldValidator(Name fieldName, Restriction valueValidation, Validator[] recordValidators, SubstitutionExpr messageExpr)
           
 
Method Summary
 boolean validate(ServiceContext context, Flow flow, java.util.List<java.lang.String> failures)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldValidator

public FieldValidator(Name fieldName,
                      Restriction valueValidation,
                      Validator[] recordValidators,
                      SubstitutionExpr messageExpr)
Method Detail

validate

public boolean validate(ServiceContext context,
                        Flow flow,
                        java.util.List<java.lang.String> failures)
Specified by:
validate in interface Validator