View Javadoc

1   /* ===================================================================
2    * Copyright 2002-04 SRI International.
3    * Released under the MOZILLA PUBLIC LICENSE Version 1.1
4    * which can be obtained at http://www.mozilla.org/MPL/MPL-1.1.html
5    * This software is distributed on an "AS IS"
6    * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
7    * See the License for the specific language governing rights and
8    * limitations under the License.
9    * =================================================================== */
10  package com.sri.emo.wizard;
11  
12  /***
13   * Interface for building a Wizard.
14   *
15   * @author Michael Rimov
16   */
17  public interface WizardFactory {
18      /***
19       * Constructs a new wizard instance and returns it.
20       *
21       * @return Wizard instance
22       * @throws WizardException upon error building it.
23       */
24      Wizard buildWizard() throws WizardException;
25  
26  }