~vcs-imports/xena/trunk

« back to all changes in this revision

Viewing changes to ext/src/xerces-2_9_1/src/org/apache/wml/WMLSelectElement.java

  • Committer: matthewoliver
  • Date: 2009-12-10 03:18:07 UTC
  • Revision ID: vcs-imports@canonical.com-20091210031807-l086qguzdlljtkl9
Merged Xena Testing into Xena Stable for the Xena 5 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Licensed to the Apache Software Foundation (ASF) under one or more
 
3
 * contributor license agreements.  See the NOTICE file distributed with
 
4
 * this work for additional information regarding copyright ownership.
 
5
 * The ASF licenses this file to You under the Apache License, Version 2.0
 
6
 * (the "License"); you may not use this file except in compliance with
 
7
 * the License.  You may obtain a copy of the License at
 
8
 * 
 
9
 *      http://www.apache.org/licenses/LICENSE-2.0
 
10
 * 
 
11
 * Unless required by applicable law or agreed to in writing, software
 
12
 * distributed under the License is distributed on an "AS IS" BASIS,
 
13
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
14
 * See the License for the specific language governing permissions and
 
15
 * limitations under the License.
 
16
 */
 
17
package org.apache.wml;
 
18
 
 
19
/**
 
20
 * <p>The interface is modeled after DOM1 Spec for HTML from W3C.
 
21
 * The DTD used in this DOM model is from 
 
22
 * <a href="http://www.wapforum.org/DTD/wml_1.1.xml">
 
23
 * http://www.wapforum.org/DTD/wml_1.1.xml</a></p>
 
24
 *
 
25
 * <p>'select' element lets user pick from a list of options.
 
26
 * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)</p>
 
27
 *
 
28
 * @version $Id: WMLSelectElement.java,v 1.2 2009/12/10 03:18:40 matthewoliver Exp $
 
29
 * @author <a href="mailto:david@topware.com.tw">David Li</a>
 
30
 */
 
31
public interface WMLSelectElement extends WMLElement {
 
32
    
 
33
    /**
 
34
     * 'tabindex' specifies the tabbing position of the element
 
35
     * (Section 11.6.1, WAP WML Version 16-Jun-1999)
 
36
     */
 
37
    public void setTabIndex(int newValue);
 
38
    public int getTabIndex();
 
39
 
 
40
    /**
 
41
     * 'multiple' indicates whether a list accept multiple selection
 
42
     * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
 
43
     */
 
44
    public void setMultiple(boolean newValue);
 
45
    public boolean getMultiple();
 
46
 
 
47
    /**
 
48
     * 'name' specifies the name of variable to be set.
 
49
     * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
 
50
     */
 
51
    public void setName(String newValue);
 
52
    public String getName();
 
53
 
 
54
    /**
 
55
     * 'value' specifics the default value of the variable of 'name'
 
56
     * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
 
57
     */
 
58
    public void setValue(String newValue);
 
59
    public String getValue();
 
60
 
 
61
    /**
 
62
     * 'title' specifies a title for this element
 
63
     * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
 
64
     */
 
65
    public void setTitle(String newValue);
 
66
    public String getTitle();
 
67
 
 
68
    /**
 
69
     * 'iname' specifies name of variable to be set with the index
 
70
     * result of selection.  
 
71
     * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
 
72
     */
 
73
    public void setIName(String newValue);
 
74
    public String getIName();
 
75
 
 
76
    /**
 
77
     * 'ivalue' specifies the default of the variable 'iname'
 
78
     */
 
79
    public void setIValue(String newValue);
 
80
    public String getIValue();
 
81
 
 
82
    /**
 
83
     * 'xml:lang' specifics the natural or formal language in which
 
84
     * the document is written.  
 
85
     * (Section 8.8, WAP WML Version 16-Jun-1999) 
 
86
     */
 
87
    public void setXmlLang(String newValue);
 
88
    public String getXmlLang();
 
89
}