KickJava   Java API By Example, From Geeks To Geeks.

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


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: WMLGoElementImpl.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.WMLGoElement;
25
26 public class WMLGoElementImpl extends WMLElementImpl implements WMLGoElement {
27
28   public WMLGoElementImpl(WMLDocumentImpl owner, String JavaDoc namespaceURI, String JavaDoc qualifiedName) {
29     super(owner, namespaceURI, qualifiedName);
30   }
31
32   /** @deprecated use setSendReferer */
33   public void setSendreferer(boolean newValue) {
34     setSendReferer(newValue);
35   }
36
37   /** @deprecated use getSendReferer */
38   public boolean getSendreferer() {
39     return getSendReferer();
40   }
41
42   public void setSendReferer(boolean newValue) {
43     setAttribute("sendreferer", newValue);
44   }
45
46   public boolean getSendReferer() {
47     return getAttribute("sendreferer", false);
48   }
49
50   public void setAcceptCharset(String JavaDoc newValue) {
51     setAttribute("accept-charset", newValue);
52   }
53
54   public String JavaDoc getAcceptCharset() {
55     return getAttribute("accept-charset");
56   }
57
58   public void setHref(String JavaDoc newValue) {
59     setAttribute("href", newValue);
60   }
61
62   public String JavaDoc getHref() {
63     return getAttribute("href");
64   }
65
66   public void setClassName(String JavaDoc newValue) {
67     setAttribute("class", newValue);
68   }
69
70   public String JavaDoc getClassName() {
71     return getAttribute("class");
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 setMethod(String JavaDoc newValue) {
83     setAttribute("method", newValue);
84   }
85
86   public String JavaDoc getMethod() {
87     return getAttribute("method");
88   }
89
90 }
91
Popular Tags