KickJava   Java API By Example, From Geeks To Geeks.

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


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.HTMLIFrameElement;
19
20 /**
21  * @xerces.internal
22  * @version $Revision: 1.11 $ $Date: 2005/04/18 01:04:17 $
23  * @author <a HREF="mailto:arkin@exoffice.com">Assaf Arkin</a>
24  * @see org.w3c.dom.html.HTMLIFrameElement
25  * @see org.apache.xerces.dom.ElementImpl
26  */

27 public class HTMLIFrameElementImpl
28     extends HTMLElementImpl
29     implements HTMLIFrameElement
30 {
31
32     private static final long serialVersionUID = 3617297817824014903L;
33
34     public String JavaDoc getAlign()
35     {
36         return capitalize( getAttribute( "align" ) );
37     }
38     
39     
40     public void setAlign( String JavaDoc align )
41     {
42         setAttribute( "align", align );
43     }
44   
45     
46     public String JavaDoc getFrameBorder()
47     {
48         return getAttribute( "frameborder" );
49     }
50     
51     
52     public void setFrameBorder( String JavaDoc frameBorder )
53     {
54         setAttribute( "frameborder", frameBorder );
55     }
56
57     
58     public String JavaDoc getHeight()
59     {
60         return getAttribute( "height" );
61     }
62     
63     
64     public void setHeight( String JavaDoc height )
65     {
66         setAttribute( "height", height );
67     }
68   
69     public String JavaDoc getLongDesc()
70     {
71         return getAttribute( "longdesc" );
72     }
73     
74     
75     public void setLongDesc( String JavaDoc longDesc )
76     {
77         setAttribute( "longdesc", longDesc );
78     }
79   
80   
81     public String JavaDoc getMarginHeight()
82     {
83         return getAttribute( "marginheight" );
84     }
85     
86     
87     public void setMarginHeight( String JavaDoc marginHeight )
88     {
89         setAttribute( "marginheight", marginHeight );
90     }
91   
92   
93     public String JavaDoc getMarginWidth()
94     {
95         return getAttribute( "marginwidth" );
96     }
97     
98     
99     public void setMarginWidth( String JavaDoc marginWidth )
100     {
101         setAttribute( "marginwidth", marginWidth );
102     }
103
104   
105       public String JavaDoc getName()
106     {
107         return getAttribute( "name" );
108     }
109     
110     
111     public void setName( String JavaDoc name )
112     {
113         setAttribute( "name", name );
114     }
115
116     
117     public String JavaDoc getScrolling()
118     {
119         return capitalize( getAttribute( "scrolling" ) );
120     }
121     
122     
123     public void setScrolling( String JavaDoc scrolling )
124     {
125         setAttribute( "scrolling", scrolling );
126     }
127     
128   
129        public String JavaDoc getSrc()
130     {
131         return getAttribute( "src" );
132     }
133     
134     
135     public void setSrc( String JavaDoc src )
136     {
137         setAttribute( "src", src );
138     }
139
140
141       public String JavaDoc getWidth()
142     {
143         return getAttribute( "width" );
144     }
145     
146     
147     public void setWidth( String JavaDoc width )
148     {
149         setAttribute( "width", width );
150     }
151
152     
153     /**
154      * Constructor requires owner document.
155      *
156      * @param owner The owner HTML document
157      */

158     public HTMLIFrameElementImpl( HTMLDocumentImpl owner, String JavaDoc name )
159     {
160         super( owner, name );
161     }
162
163
164 }
165
166
Popular Tags