com.izforge.izpack.panels.userinput.validator
Class UniqueValidator

java.lang.Object
  extended by com.izforge.izpack.panels.userinput.validator.UniqueValidator
All Implemented Interfaces:
Validator

public class UniqueValidator
extends Object
implements Validator

Ensure that all values are unique. Expects a comma separated string of values.


Constructor Summary
UniqueValidator()
           
 
Method Summary
 boolean validate(ProcessingClient client)
          Validates the contend of an input field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniqueValidator

public UniqueValidator()
Method Detail

validate

public boolean validate(ProcessingClient client)
Description copied from interface: Validator
Validates the contend of an input field.

Specified by:
validate in interface Validator
Parameters:
client - the client object using the services of this validator.
Returns:
true if the validation passes, otherwise false.


Copyright © 2018. All rights reserved.