Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.srplib.binding;
 
An interface for general purpose data binder.

Author(s):
Anton Pechinsky
 
public interface Binder<T> {

    
Bind specified object.

Parameters:
object Object an object to bind.
    void bind(T object);

    
Unbind specified object.

Parameters:
object Object an object to unbind.
Returns:
Object unbound object.
Throws:
org.srplib.validation.ValidationException in case of validation errors
    T unbind(T object);

    
Unbind specified object.

Parameters:
object Object an object to unbind.
errors ValidationErrors an object containing validation errors.
Returns:
ValidationErrors validation errors object. Returns the same error instance as in a parameter.
    ValidationErrors unbind(T objectValidationErrors errors);
New to GrepCode? Check out our FAQ X