org.shredzone.repowatch.validator
Class DomainValidator

java.lang.Object
  extended by org.shredzone.repowatch.validator.DomainValidator
All Implemented Interfaces:
org.springframework.validation.Validator

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

Validates a Domain entity.

Version:
$Revision: 326 $

Constructor Summary
DomainValidator()
           
 
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

DomainValidator

public DomainValidator()
Method Detail

supports

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

validate

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


Copyright © 2007-2011 shredzone.org. All Rights Reserved.