KickJava   Java API By Example, From Geeks To Geeks.

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


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: WMLImgElementImpl.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.WMLImgElement;
25
26 public class WMLImgElementImpl extends WMLElementImpl implements WMLImgElement {
27
28   public WMLImgElementImpl(WMLDocumentImpl owner, String JavaDoc namespaceURI, String JavaDoc qualifiedName) {
29     super(owner, namespaceURI, qualifiedName);
30   }
31
32   public void setWidth(String JavaDoc newValue) {
33     setAttribute("width", newValue);
34   }
35
36   public String JavaDoc getWidth() {
37     return getAttribute("width");
38   }
39
40   public void setClassName(String JavaDoc newValue) {
41     setAttribute("class", newValue);
42   }
43
44   public String JavaDoc getClassName() {
45     return getAttribute("class");
46   }
47
48   public void setXmlLang(String JavaDoc newValue) {
49     setAttribute("xml:lang", newValue);
50   }
51
52   public String JavaDoc getXmlLang() {
53     return getAttribute("xml:lang");
54   }
55
56   public void setLocalSrc(String JavaDoc newValue) {
57     setAttribute("localsrc", newValue);
58   }
59
60   public String JavaDoc getLocalSrc() {
61     return getAttribute("localsrc");
62   }
63
64   public void setHeight(String JavaDoc newValue) {
65     setAttribute("height", newValue);
66   }
67
68   public String JavaDoc getHeight() {
69     return getAttribute("height");
70   }
71
72   public void setAlign(String JavaDoc newValue) {
73     setAttribute("align", newValue);
74   }
75
76   public String JavaDoc getAlign() {
77     return getAttribute("align");
78   }
79
80   public void setVspace(String JavaDoc newValue) {
81     setAttribute("vspace", newValue);
82   }
83
84   public String JavaDoc getVspace() {
85     return getAttribute("vspace");
86   }
87
88   public void setAlt(String JavaDoc newValue) {
89     setAttribute("alt", newValue);
90   }
91
92   public String JavaDoc getAlt() {
93     return getAttribute("alt");
94   }
95
96   public void setId(String JavaDoc newValue) {
97     setAttribute("id", newValue);
98   }
99
100   public String JavaDoc getId() {
101     return getAttribute("id");
102   }
103
104   public void setHspace(String JavaDoc newValue) {
105     setAttribute("hspace", newValue);
106   }
107
108   public String JavaDoc getHspace() {
109     return getAttribute("hspace");
110   }
111
112   public void setSrc(String JavaDoc newValue) {
113     setAttribute("src", newValue);
114   }
115
116   public String JavaDoc getSrc() {
117     return getAttribute("src");
118   }
119
120 }
121
Popular Tags