Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class ExactLengthValidator
extends Object
implements FieldValidator

Author:
Bogdan Stefanescu

Constructor Summary
ExactLengthValidator(int length)
           
 
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

ExactLengthValidator

public ExactLengthValidator(int length)
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.