Source code: org/enhydra/wireless/wml/dom/WMLDoElement.java
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 Enhydra Application Server is Lutris
15 * Technologies, Inc. The Enhydra Application Server and portions created
16 * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17 * All Rights Reserved.
18 *
19 * Contributor(s):
20 *
21 * $Id: WMLDoElement.java,v 1.1.12.2 2000/12/04 01:26:00 markd Exp $
22 */
23
24 /**
25 * The interface is modeled after DOM1 Spec for HTML from W3C.
26 * The DTD used in this DOM model is from
27 * http://www.wapforum.org/DTD/wml_1.1.xml
28 */
29
30 package org.enhydra.wireless.wml.dom;
31
32 public interface WMLDoElement extends WMLElement {
33
34 public void setOptional(boolean newValue);
35 public boolean getOptional();
36
37 public void setLabel(String newValue);
38 public String getLabel();
39
40 public void setType(String newValue);
41 public String getType();
42
43 public void setName(String newValue);
44 public String getName();
45
46 /**
47 * The xml:lang that specifics the natural or formal language in
48 * which the document is written.
49 * (Section 8.8, WAP WML Version 16-Jun-1999)
50 */
51 public void setXmlLang(String newValue);
52 public String getXmlLang();
53 }