Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.forms.validation
Class LengthValidator

java.lang.Object
  extended by org.nuxeo.ecm.webengine.forms.validation.LengthValidator
All Implemented Interfaces:
FieldValidator

public class LengthValidator
extends Object
implements FieldValidator

Author:
Bogdan Stefanescu

Constructor Summary
LengthValidator(int min, int max)
           
 
Method Summary
 void validate(String value, Object decoded)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LengthValidator

public LengthValidator(int min,
                       int max)
Method Detail

validate

public void validate(String value,
                     Object decoded)
              throws ValidationException
Specified by:
validate in interface FieldValidator
Throws:
ValidationException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.