KickJava   Java API By Example, From Geeks To Geeks.

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


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

27 public class HTMLMetaElementImpl
28     extends HTMLElementImpl
29     implements HTMLMetaElement
30 {
31
32     private static final long serialVersionUID = 3256722862131197489L;
33
34     public String JavaDoc getContent()
35     {
36         return getAttribute( "content" );
37     }
38     
39     
40     public void setContent( String JavaDoc content )
41     {
42         setAttribute( "content", content );
43     }
44
45     
46     
47       public String JavaDoc getHttpEquiv()
48     {
49         return getAttribute( "http-equiv" );
50     }
51     
52     
53     public void setHttpEquiv( String JavaDoc httpEquiv )
54     {
55         setAttribute( "http-equiv", httpEquiv );
56     }
57
58   
59       public String JavaDoc getName()
60     {
61         return getAttribute( "name" );
62     }
63     
64     
65     public void setName( String JavaDoc name )
66     {
67         setAttribute( "name", name );
68     }
69
70     
71       public String JavaDoc getScheme()
72     {
73         return getAttribute( "scheme" );
74     }
75     
76     
77     public void setScheme( String JavaDoc scheme )
78     {
79         setAttribute( "scheme", scheme );
80     }
81     
82     
83     /**
84      * Constructor requires owner document.
85      *
86      * @param owner The owner HTML document
87      */

88     public HTMLMetaElementImpl( HTMLDocumentImpl owner, String JavaDoc name )
89     {
90         super( owner, name );
91     }
92
93
94 }
95
96
Popular Tags