KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > wireless > wml > dom > WMLOptionElement


1 /*
2  * Enhydra Java Application Server Project
3  *
4  * The contents of this file are subject to the Enhydra Public License
5  * Version 1.1 (the "License"); you may not use this file except in
6  * compliance with the License. You may obtain a copy of the License on
7  * the Enhydra web site ( http://www.enhydra.org/ ).
8  *
9  * Software distributed under the License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11  * the License for the specific terms governing rights and limitations
12  * under the License.
13  *
14  * The Initial Developer of the Original Code is DigitalSesame
15  * Portions created by DigitalSesame are Copyright (C) 1997-2000 DigitalSesame
16  * All Rights Reserved.
17  *
18  * Contributor(s):
19  *
20  * $Id: WMLOptionElement.java,v 1.1.1.1 2003/03/10 16:36:08 taweili Exp $
21  */

22
23 /**
24  * The interface is modeled after DOM1 Spec for HTML from W3C.
25  * The DTD used in this DOM model is from
26  * http://www.wapforum.org/DTD/wml_1.1.xml
27  */

28
29 package org.enhydra.wireless.wml.dom;
30
31 /**
32  * 'option' element specifies a choice in a 'select' element
33  */

34 public interface WMLOptionElement extends WMLElement {
35
36     /**
37      * 'value' specifies the value to used to set the 'name' variable
38      * (Section 11.6.2.2, WAP WML Version 16-Jun-1999)
39      */

40     public void setValue(String JavaDoc newValue);
41     public String JavaDoc getValue();
42
43     /**
44      * 'title' specifies a title for this element.
45      * (Section 11.6.2.2, WAP WML Version 16-Jun-1999)
46      */

47     public void setTitle(String JavaDoc newValue);
48     public String JavaDoc getTitle();
49
50     /**
51      * 'onpick' specifies a event to occur when a user select and
52      * disselect this choice.
53      * (Section 11.6.2.2, WAP WML Version 16-Jun-1999) */

54     public void setOnPick(String JavaDoc href);
55     public String JavaDoc getOnPick();
56
57     /**
58      * 'xml:lang' specifics the natural or formal language in which
59      * the document is written.
60      * (Section 8.8, WAP WML Version 16-Jun-1999)
61      */

62     public void setXmlLang(String JavaDoc newValue);
63     public String JavaDoc getXmlLang();
64 }
65
Popular Tags