org.sovt
Interface Validator

All Known Implementing Classes:
AbstractValidator, PropertySelector

public interface Validator

This is interface for object validation. Implementation of this interface should be thread-safe.

Author:
Vilmantas Baranauskas (vilmantas_baranauskas@yahoo.com)

Method Summary
 java.lang.Object clone()
          Clone of itself.
 void validate(java.lang.Object object, ValidationResult result)
          Implementation should validate given object and use result parameter to store stores validation result.
 

Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone of itself.

Returns:
clone of itself.
Throws:
java.lang.CloneNotSupportedException

validate

public void validate(java.lang.Object object,
                     ValidationResult result)
Implementation should validate given object and use result parameter to store stores validation result.

Parameters:
object - Object to validate
result - Container for validation results.


Copyright © 2003-2005 . All Rights Reserved.