KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > verge > mvc > config > BaseConfigBuilder


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.config;
8
9
10 import org.jdom.Element;
11
12 import com.inversoft.config.ConfigurationException;
13 import com.inversoft.config.component.AbstractComponentConfigBuilder;
14
15
16 /**
17  * <p>
18  * This class is the base configuration builder for the
19  * Form based MVC configuration.
20  * </p>
21  *
22  * @author Brian Pontarelli
23  * @since 2.0
24  * @version 2.0
25  */

26 public abstract class BaseConfigBuilder extends AbstractComponentConfigBuilder {
27
28     /**
29      * Constructor for BaseConfigBuilder.
30      */

31     public BaseConfigBuilder() {
32         super();
33     }
34
35
36    /**
37     * Builds a configuration object from the single Element given. If there were
38     * any problems while building they should be thrown in a ConfigurationException
39     *
40     * @param element The Element to build from
41     * @return The configuration object that was built
42     * @throws ConfigurationException If there were any errors
43     */

44    public abstract BaseConfig build(Element element) throws ConfigurationException;
45 }
46
Popular Tags