KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > html > dom > HTMLAppletElementImpl


1 /*
2  * Copyright 1999,2000,2004,2005 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.html.dom;
17
18 import org.w3c.dom.html.HTMLAppletElement;
19
20 /**
21  * @xerces.internal
22  * @version $Revision: 1.8 $ $Date: 2005/04/18 00:36:15 $
23  * @author <a HREF="mailto:arkin@exoffice.com">Assaf Arkin</a>
24  * @see org.w3c.dom.html.HTMLAppletElement
25  * @see HTMLElementImpl
26  */

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

171     public HTMLAppletElementImpl( HTMLDocumentImpl owner, String JavaDoc name )
172     {
173         super( owner, name );
174     }
175     
176 }
177
178
Popular Tags