org.apache.bval.routines
Class NOPValidation

java.lang.Object
  extended by org.apache.bval.routines.NOPValidation
All Implemented Interfaces:
Validation

public class NOPValidation
extends Object
implements Validation

Description: DO NOTHING VALIDATION (can be used to turn off standard validation)


Constructor Summary
NOPValidation()
           
 
Method Summary
<T extends ValidationListener>
void
validate(ValidationContext<T> context)
          Perform a single validation routine.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NOPValidation

public NOPValidation()
Method Detail

validate

public <T extends ValidationListener> void validate(ValidationContext<T> context)
Description copied from interface: Validation
Perform a single validation routine. Validate the object or property according to the current ValidationContext.

Specified by:
validate in interface Validation
Parameters:
context - - to access the property, value, constraints


Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.