KickJava   Java API By Example, From Geeks To Geeks.

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


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: WMLElement.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 import org.w3c.dom.Element JavaDoc;
32
33 /**
34  * All WML Elements are derived from this class that contains two
35  * core attributes defined in the DTD.
36  */

37 public interface WMLElement extends Element JavaDoc {
38
39     /**
40      * The element's identifier which is unique in a single deck.
41      * (Section 8.9, WAP WML Version 16-Jun-1999)
42      */

43     public void setId(String JavaDoc newValue);
44     public String JavaDoc getId();
45
46     /**
47      * The 'class' attribute of a element that affiliates an elements
48      * with one or more elements.
49      * (Section 8.9, WAP WML Version 16-Jun-1999)
50      */

51     public void setClassName(String JavaDoc newValue);
52     public String JavaDoc getClassName();
53 }
54
Popular Tags