1 16 package org.apache.html.dom; 17 18 import org.w3c.dom.html.HTMLBaseFontElement; 19 20 27 public class HTMLBaseFontElementImpl 28 extends HTMLElementImpl 29 implements HTMLBaseFontElement 30 { 31 32 private static final long serialVersionUID = 3257006557588763705L; 33 34 public String getColor() 35 { 36 return capitalize( getAttribute( "color" ) ); 37 } 38 39 40 public void setColor( String color ) 41 { 42 setAttribute( "color", color ); 43 } 44 45 46 public String getFace() 47 { 48 return capitalize( getAttribute( "face" ) ); 49 } 50 51 52 public void setFace( String face ) 53 { 54 setAttribute( "face", face ); 55 } 56 57 58 public String getSize() 59 { 60 return getAttribute( "size" ); 61 } 62 63 64 public void setSize( String size ) 65 { 66 setAttribute( "size", size ); 67 } 68 69 70 75 public HTMLBaseFontElementImpl( HTMLDocumentImpl owner, String name ) 76 { 77 super( owner, name ); 78 } 79 80 81 } 82 83 | Popular Tags |