org.openregistry.core.web
Class SearchCriteriaValidator

java.lang.Object
  extended by org.openregistry.core.web.SearchCriteriaValidator
All Implemented Interfaces:
org.springframework.validation.Validator

@Named(value="searchCriteriaValidator")
public final class SearchCriteriaValidator
extends java.lang.Object
implements org.springframework.validation.Validator

Bridges the Spring Validation code with the JSR330 validation code.

Since:
1.0.0
Version:
$Revision$ $Date$
Author:
Scott Battaglia

Constructor Summary
SearchCriteriaValidator()
           
 
Method Summary
 boolean supports(java.lang.Class aClass)
           
 void validate(java.lang.Object o, 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

SearchCriteriaValidator

public SearchCriteriaValidator()
Method Detail

validate

public final void validate(java.lang.Object o,
                           org.springframework.validation.Errors errors)
Specified by:
validate in interface org.springframework.validation.Validator

supports

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


Copyright © 2009-2012 JA-SIG, Inc.. All Rights Reserved.