KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > verge > mvc > test > TestValidatorHandler


1 /*
2  * Copyright (c) 2003-2004, Inversoft, All Rights Reserved
3  *
4  * This software is distribuable under the GNU Lesser General Public License.
5  * For more information visit gnu.org.
6  */

7 package com.inversoft.verge.mvc.test;
8
9
10 import com.inversoft.util.typeconverter.TypeConversionException;
11 import com.inversoft.verge.mvc.MVCException;
12 import com.inversoft.verge.mvc.MVCRequest;
13 import com.inversoft.verge.mvc.validator.ValidatorHandler;
14 import com.inversoft.verge.util.WebBeanProperty;
15
16
17 /**
18  * <p>
19  * This class is a test validator handler.
20  * </p>
21  *
22  * @author Brian Pontarelli
23  */

24 public class TestValidatorHandler implements ValidatorHandler {
25
26     /**
27      * Constructs a new <code>TestValidatorHandler</code>.
28      */

29     public TestValidatorHandler() {
30     }
31
32
33     public boolean validate(MVCRequest mvcRequest) throws MVCException {
34         return false;
35     }
36
37     public void handle(MVCRequest mvcRequest, TypeConversionException tce, Object JavaDoc model,
38         WebBeanProperty wbp) throws MVCException {
39     }
40 }
Popular Tags