org.springframework.web.servlet.view.json.mock
Class MockValidatorImpl

java.lang.Object
  extended by org.springframework.web.servlet.view.json.mock.MockValidatorImpl
All Implemented Interfaces:
org.springframework.validation.Validator

public class MockValidatorImpl
extends Object
implements org.springframework.validation.Validator


Constructor Summary
MockValidatorImpl()
           
 
Method Summary
 boolean supports(Class clazz)
           
 void validate(Object obj, org.springframework.validation.Errors errors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockValidatorImpl

public MockValidatorImpl()
Method Detail

validate

public void validate(Object obj,
                     org.springframework.validation.Errors errors)
Specified by:
validate in interface org.springframework.validation.Validator

supports

public boolean supports(Class clazz)
Specified by:
supports in interface org.springframework.validation.Validator


Copyright © 2010. All Rights Reserved.