KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > xml > xhtml > dom > xerces > XHTMLFontElementImpl


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  * Rex Tsai <chihchun@digitalsesame.com>
20  * David Li <david@digitalsesam.com>
21  *
22  * $Id: XHTMLFontElementImpl.java,v 1.2 2005/01/26 08:28:45 jkjome Exp $
23  */

24
25 package org.enhydra.xml.xhtml.dom.xerces;
26
27
28 public class XHTMLFontElementImpl
29     extends XHTMLElementImpl
30     implements org.enhydra.xml.xhtml.dom.XHTMLFontElement
31 {
32
33     public XHTMLFontElementImpl (XHTMLDocumentBase owner, String JavaDoc namespaceURI, String JavaDoc tagName) {
34     super( owner, namespaceURI, tagName);
35     }
36
37         public void setId (String JavaDoc newValue) {
38     setAttribute("id", newValue);
39     }
40
41     public String JavaDoc getId () {
42     return getAttribute ("id");
43     }
44     public void setLang (String JavaDoc newValue) {
45     setAttribute("lang", newValue);
46     }
47
48     public String JavaDoc getLang () {
49     return getAttribute ("lang");
50     }
51     public void setDir (String JavaDoc newValue) {
52     setAttribute("dir", newValue);
53     }
54
55     public String JavaDoc getDir () {
56     return getAttribute ("dir");
57     }
58     public void setClassName (String JavaDoc newValue) {
59     setAttribute("class", newValue);
60     }
61
62     public String JavaDoc getClassName () {
63     return getAttribute ("class");
64     }
65     public void setTitle (String JavaDoc newValue) {
66     setAttribute("title", newValue);
67     }
68
69     public String JavaDoc getTitle () {
70     return getAttribute ("title");
71     }
72     public void setSize (String JavaDoc newValue) {
73     setAttribute("size", newValue);
74     }
75
76     public String JavaDoc getSize () {
77     return getAttribute ("size");
78     }
79     public void setColor (String JavaDoc newValue) {
80     setAttribute("color", newValue);
81     }
82
83     public String JavaDoc getColor () {
84     return getAttribute ("color");
85     }
86     public void setFace (String JavaDoc newValue) {
87     setAttribute("face", newValue);
88     }
89
90     public String JavaDoc getFace () {
91     return getAttribute ("face");
92     }
93     public void setStyle (String JavaDoc newValue) {
94     setAttribute("style", newValue);
95     }
96
97     public String JavaDoc getStyle () {
98     return getAttribute ("style");
99     }
100     public void setXmlLang (String JavaDoc newValue) {
101     setAttribute("xml:lang", newValue);
102     }
103
104     public String JavaDoc getXmlLang () {
105     return getAttribute ("xml:lang");
106     }
107 ;
108
109     
110 ;
111 }
112
113
114
Popular Tags