KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > xml > dom > html > HTMLAppletElementImpl


1 /**
2  * org/ozone-db/xml/dom/html/HTMLAppletElementImpl.java
3  *
4  * The contents of this file are subject to the OpenXML Public
5  * License Version 1.0; you may not use this file except in compliance
6  * with the License. You may obtain a copy of the License at
7  * http://www.openxml.org/license.html
8  *
9  * THIS SOFTWARE IS DISTRIBUTED ON AN "AS IS" BASIS WITHOUT WARRANTY
10  * OF ANY KIND, EITHER EXPRESSED OR IMPLIED. THE INITIAL DEVELOPER
11  * AND ALL CONTRIBUTORS SHALL NOT BE LIABLE FOR ANY DAMAGES AS A
12  * RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS
13  * DERIVATIVES. SEE THE LICENSE FOR THE SPECIFIC LANGUAGE GOVERNING
14  * RIGHTS AND LIMITATIONS UNDER THE LICENSE.
15  *
16  * The Initial Developer of this code under the License is Assaf Arkin.
17  * Portions created by Assaf Arkin are Copyright (C) 1998, 1999.
18  * All Rights Reserved.
19  */

20
21 package org.ozoneDB.xml.dom.html;
22
23 import org.w3c.dom.html.HTMLAppletElement;
24
25
26 /**
27  * @version $Revision: 1.2 $ $Date: 2003/11/20 23:18:42 $
28  * @author <a HREF="mailto:arkin@trendline.co.il">Assaf Arkin</a>
29  * @see org.w3c.dom.html.HTMLAppletElement
30  * @see HTMLElementImpl
31  */

32 public final class HTMLAppletElementImpl extends HTMLElementImpl implements HTMLAppletElement {
33
34
35     public String JavaDoc getAlign() {
36         return getAttribute( "align" );
37     }
38
39
40     public void setAlign( String JavaDoc align ) {
41         setAttribute( "align", align );
42     }
43
44
45     public String JavaDoc getAlt() {
46         return getAttribute( "alt" );
47     }
48
49
50     public void setAlt( String JavaDoc alt ) {
51         setAttribute( "alt", alt );
52     }
53
54
55     public String JavaDoc getArchive() {
56         return getAttribute( "archive" );
57     }
58
59
60     public void setArchive( String JavaDoc archive ) {
61         setAttribute( "archive", archive );
62     }
63
64
65     public String JavaDoc getCode() {
66         return getAttribute( "code" );
67     }
68
69
70     public void setCode( String JavaDoc code ) {
71         setAttribute( "code", code );
72     }
73
74
75     public String JavaDoc getCodeBase() {
76         return getAttribute( "codebase" );
77     }
78
79
80     public void setCodeBase( String JavaDoc codeBase ) {
81         setAttribute( "codebase", codeBase );
82     }
83
84
85     public String JavaDoc getHeight() {
86         return getAttribute( "height" );
87     }
88
89
90     public void setHeight( String JavaDoc height ) {
91         setAttribute( "height", height );
92     }
93
94
95     public String JavaDoc getHspace() {
96         return getAttribute( "height" );
97     }
98
99
100     public void setHspace( String JavaDoc height ) {
101         setAttribute( "height", height );
102     }
103
104
105     public String JavaDoc getName() {
106         return getAttribute( "name" );
107     }
108
109
110     public void setName( String JavaDoc name ) {
111         setAttribute( "name", name );
112     }
113
114
115     public String JavaDoc getObject() {
116         return getAttribute( "object" );
117     }
118
119
120     public void setObject( String JavaDoc object ) {
121         setAttribute( "object", object );
122     }
123
124
125     public String JavaDoc getVspace() {
126         return getAttribute( "vspace" );
127     }
128
129
130     public void setVspace( String JavaDoc vspace ) {
131         setAttribute( "vspace", vspace );
132     }
133
134
135     public String JavaDoc getWidth() {
136         return getAttribute( "width" );
137     }
138
139
140     public void setWidth( String JavaDoc width ) {
141         setAttribute( "width", width );
142     }
143
144
145     /**
146      * Constructor requires owner document.
147      *
148      * @param owner The owner HTML document
149      */

150     public HTMLAppletElementImpl( HTMLDocumentImpl owner, String JavaDoc name ) {
151         super( owner, "APPLET" );
152     }
153
154 }
155
Popular Tags