View Javadoc

1   /*
2    * $Header: /cvsroot/sinon/sinon/src/java/eteg/sinon/core/PageConfiguration.java,v 1.2 2005/06/21 14:25:07 thiagohp Exp $
3    * $Revision: 1.2 $
4    * $Date: 2005/06/21 14:25:07 $
5    * $Author: thiagohp $
6    *
7    * =============================================================================
8    *
9    * Copyright 2004-2005 Eteg Internet Ltda. (http://www.eteg.com.br)
10   *
11   * Licensed under the Apache License, Version 2.0 (the "License");
12   * you may not use this file except in compliance with the License.
13   * You may obtain a copy of the License at
14   *
15   *     http://www.apache.org/licenses/LICENSE-2.0
16   *
17   * Unless required by applicable law or agreed to in writing, software
18   * distributed under the License is distributed on an "AS IS" BASIS,
19   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20   * See the License for the specific language governing permissions and
21   * limitations under the License.
22   */
23  package eteg.sinon.core;
24  
25  /***
26   * Class that represents the configuration of a page in Sinon.
27   *
28   * @author <a href="mailto:thiagohp at users.sourceforge.net">Thiago H. de Paula Figueiredo</a>
29   * @author Last modified by $Author: thiagohp $
30   * @version $Revision: 1.2 $
31   */
32  public class PageConfiguration {
33  
34      /***
35       * HTTP parameters set.
36       */
37      private ParameterSet parameterSet;
38  
39      /***
40       * Constructor with no parameters.
41       */
42      public PageConfiguration() {
43          parameterSet = new ParameterSet();
44      }
45  
46      /***
47       * Returns the value of the <code>parameterSet</code> property.
48       * @return a <code>String</code>.
49       */
50      public ParameterSet getParameterSet() {
51          return parameterSet;
52      }
53  
54      /***
55       * Sets the value of the <code>parameterSet</code> property.
56       * @param parameterSet the new <code>parameterSet</code> value.
57       */
58      public void setParameterSet(ParameterSet parameterSet) {
59          this.parameterSet = parameterSet;
60      }
61  
62  }