PageRenderTime 20ms CodeModel.GetById 13ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/hippo/src/main/java/com/googlecode/hdbc/model/validator/Validator.java

http://hdbc.googlecode.com/
Java | 12 lines | 7 code | 5 blank | 0 comment | 0 complexity | 817b356044d0ecc4a45cb946c2b7ae8e MD5 | raw file
 1package com.googlecode.hdbc.model.validator;
 2
 3import java.util.Locale;
 4
 5import net.sf.json.JSONObject;
 6
 7public interface Validator<T> {
 8	
 9	boolean supports(Class<?> clazz);
10	
11	JSONObject validate(T input, Locale locale);
12}