1 57 package org.enhydra.apache.html.dom; 58 59 60 import org.enhydra.apache.xerces.dom.ElementImpl; 61 import org.w3c.dom.html.HTMLBaseFontElement; 62 63 64 70 public class HTMLBaseFontElementImpl 71 extends HTMLElementImpl 72 implements HTMLBaseFontElement 73 { 74 75 76 public String getColor() 77 { 78 return capitalize( getAttribute( "color" ) ); 79 } 80 81 82 public void setColor( String color ) 83 { 84 setAttribute( "color", color ); 85 } 86 87 88 public String getFace() 89 { 90 return capitalize( getAttribute( "face" ) ); 91 } 92 93 94 public void setFace( String face ) 95 { 96 setAttribute( "face", face ); 97 } 98 99 100 public String getSize() 101 { 102 return getAttribute( "size" ); 103 } 104 105 106 public void setSize( String size ) 107 { 108 setAttribute( "size", size ); 109 } 110 111 112 117 public HTMLBaseFontElementImpl( HTMLDocumentImpl owner, String name ) 118 { 119 super( owner, name ); 120 } 121 122 123 } 124 125 | Popular Tags |