jklustor-all-api-0.0.7-20140619012755 (ChemAxon)


com.chemaxon.apidiscovery
Class Validators.NoValidator<T>

Object
  extended by com.chemaxon.apidiscovery.Validators.NoValidator<T>
Type Parameters:
T - Type to validate
All Implemented Interfaces:
Validator<T>
Enclosing class:
Validators

static class Validators.NoValidator<T>
extends Object
implements Validator<T>

A validator always result as valid.


Constructor Summary
Validators.NoValidator()
           
 
Method Summary
 String getDescription()
          Description of this validator.
 ValidateResult<T> validateValue(Object value)
          Validate parameter value.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Validators.NoValidator

Validators.NoValidator()
Method Detail

validateValue

public ValidateResult<T> validateValue(Object value)
Description copied from interface: Validator
Validate parameter value.

Specified by:
validateValue in interface Validator<T>
Parameters:
value - Parameter value to validate
Returns:
Result of validation

getDescription

public String getDescription()
Description copied from interface: Validator
Description of this validator.

Specified by:
getDescription in interface Validator<T>
Returns:
Description of this validator TODO: maybe use Description annotation?

jklustor-all-api-0.0.7-20140619012755 (ChemAxon)