KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > wml > WMLElement


1 /*
2  * Copyright 1999,2000,2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.wml;
17
18 import org.w3c.dom.Element JavaDoc;
19
20 /**
21  * <p>The interface is modeled after DOM1 Spec for HTML from W3C.
22  * The DTD used in this DOM model is from
23  * <a HREF="http://www.wapforum.org/DTD/wml_1.1.xml">
24  * http://www.wapforum.org/DTD/wml_1.1.xml</a></p>
25  *
26  * <p>All WML Elements are derived from this class that contains two
27  * core attributes defined in the DTD.</p>
28  *
29  * @version $Id: WMLElement.java,v 1.2 2004/02/24 23:34:05 mrglavas Exp $
30  * @author <a HREF="mailto:david@topware.com.tw">David Li</a>
31  */

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

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

47     public void setClassName(String JavaDoc newValue);
48     public String JavaDoc getClassName();
49 }
50
Popular Tags