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