Source code: com/meterware/httpunit/scripting/Input.java
1 package com.meterware.httpunit.scripting;
2 import java.io.IOException;
3
4 import org.xml.sax.SAXException;
5
6 /********************************************************************************************************************
7 * $Id: Input.java,v 1.3 2003/05/23 21:55:12 russgold Exp $
8 *
9 * Copyright (c) 2002, Russell Gold
10 *
11 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
12 * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
13 * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
14 * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
15 *
16 * The above copyright notice and this permission notice shall be included in all copies or substantial portions
17 * of the Software.
18 *
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
20 * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
22 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23 * DEALINGS IN THE SOFTWARE.
24 *
25 *******************************************************************************************************************/
26 /**
27 * An interface for scriptable delegates which represent form controls.
28 *
29 * @author <a href="mailto:russgold@httpunit.org">Russell Gold</a>
30 **/
31 public interface Input extends IdentifiedDelegate, NamedDelegate {
32
33 Object get( String propertyName );
34
35
36 void set( String propertyName, Object value );
37
38
39 void click() throws IOException, SAXException;
40
41 }