KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > verge > mvc > validator > actionflow > ActionFlowValidatorHandler


1 /*
2  * Copyright (c) 2003, Inversoft
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.validator.actionflow;
8
9
10 import com.inversoft.verge.mvc.MVCException;
11 import com.inversoft.verge.mvc.MVCRequest;
12 import com.inversoft.verge.mvc.controller.actionflow.config.ActionFlowConfigStruct;
13 import com.inversoft.verge.mvc.validator.AbstractValidatorHandler;
14
15
16 /**
17  * <p>
18  * The ValidatorHandler for the action flow system.
19  * </p>
20  *
21  * @author Brian Pontarelli
22  */

23 public class ActionFlowValidatorHandler extends AbstractValidatorHandler {
24
25     /**
26      * Does the standard validation of the model objects with auto-validation and
27      * failure linking if applicable.
28      */

29     public boolean validate(MVCRequest mvcRequest) throws MVCException {
30         ActionFlowConfigStruct struct = (ActionFlowConfigStruct) mvcRequest.getConfiguration();
31         return super.validate(mvcRequest, struct);
32     }
33 }
34
Popular Tags