KickJava   Java API By Example, From Geeks To Geeks.

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


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: WMLDoElement.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 public interface WMLDoElement extends WMLElement {
32
33     public void setOptional(boolean newValue);
34     public boolean getOptional();
35
36     public void setLabel(String JavaDoc newValue);
37     public String JavaDoc getLabel();
38
39     public void setType(String JavaDoc newValue);
40     public String JavaDoc getType();
41
42     public void setName(String JavaDoc newValue);
43     public String JavaDoc getName();
44
45     /**
46      * The xml:lang that specifics the natural or formal language in
47      * which the document is written.
48      * (Section 8.8, WAP WML Version 16-Jun-1999)
49      */

50     public void setXmlLang(String JavaDoc newValue);
51     public String JavaDoc getXmlLang();
52 }
53
Popular Tags