KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > wireless > wml > dom > xerces > WMLMetaElementImpl


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: WMLMetaElementImpl.java,v 1.1.1.1 2003/03/10 16:36:08 taweili Exp $
21  */

22 package org.enhydra.wireless.wml.dom.xerces;
23
24 import org.enhydra.wireless.wml.dom.WMLMetaElement;
25
26 public class WMLMetaElementImpl extends WMLElementImpl implements WMLMetaElement {
27
28     public WMLMetaElementImpl(WMLDocumentImpl owner, String JavaDoc namespaceURI, String JavaDoc qualifiedName) {
29     super(owner, namespaceURI, qualifiedName);
30     }
31
32     /** @deprecated use setForUA */
33     public void setForua(boolean newValue) {
34         setForUA(newValue);
35     }
36
37     /** @deprecated use getForUA */
38     public boolean getForua() {
39         return getForUA();
40     }
41
42     public void setForUA(boolean newValue) {
43     setAttribute("forua", newValue);
44     }
45
46     public boolean getForUA() {
47     return getAttribute("forua", false);
48     }
49
50     public void setScheme(String JavaDoc newValue) {
51     setAttribute("scheme", newValue);
52     }
53
54     public String JavaDoc getScheme() {
55     return getAttribute("scheme");
56     }
57
58     public void setClassName(String JavaDoc newValue) {
59     setAttribute("class", newValue);
60     }
61
62     public String JavaDoc getClassName() {
63     return getAttribute("class");
64     }
65
66     public void setHttpEquiv(String JavaDoc newValue) {
67     setAttribute("http-equiv", newValue);
68     }
69
70     public String JavaDoc getHttpEquiv() {
71     return getAttribute("http-equiv");
72     }
73
74     public void setId(String JavaDoc newValue) {
75     setAttribute("id", newValue);
76     }
77
78     public String JavaDoc getId() {
79     return getAttribute("id");
80     }
81
82     public void setContent(String JavaDoc newValue) {
83     setAttribute("content", newValue);
84     }
85
86     public String JavaDoc getContent() {
87     return getAttribute("content");
88     }
89
90     public void setName(String JavaDoc newValue) {
91     setAttribute("name", newValue);
92     }
93
94     public String JavaDoc getName() {
95     return getAttribute("name");
96     }
97 }
98
Popular Tags