01: package com.xoetrope.validation;
02:
03: import java.io.Reader;
04:
05: import java.awt.Container;
06:
07: import net.xoetrope.debug.DebugLogger;
08: import com.xoetrope.carousel.build.BuildProperties;
09: import net.xoetrope.xml.XmlElement;
10: import net.xoetrope.xui.XProject;
11: import net.xoetrope.xui.validation.XValidationFactory;
12: import net.xoetrope.xui.validation.XValidator;
13:
14: /**
15: * <p>Constucts validations be reading rules from a configuration file</p>
16: * <p> Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
17: * the GNU Public License (GPL), please see license.txt for more details. If
18: * you make commercial use of this software you must purchase a commercial
19: * license from Xoetrope.</p>
20: * <p> $Revision: 1.6 $</p>
21: */
22: public class XFormValidationFactory extends XValidationFactory {
23: /**
24: * Constructor which reads validations from the reader
25: * @param reader Reader of file containing validations
26: */
27: public XFormValidationFactory(XProject project) {
28: super (project);
29: addConfigFile("XuiPro",
30: "com/xoetrope/validation/validations.xml", false);
31: }
32: }
|