1 20 21 package org.ozoneDB.xml.dom.html; 22 23 import org.ozoneDB.xml.dom.ElementImpl; 24 import org.w3c.dom.html.HTMLBaseFontElement; 25 26 27 33 public final class HTMLBaseFontElementImpl extends HTMLElementImpl implements HTMLBaseFontElement { 34 35 36 public String getColor() { 37 return capitalize( getAttribute( "color" ) ); 38 } 39 40 41 public void setColor( String color ) { 42 setAttribute( "color", color ); 43 } 44 45 46 public String getFace() { 47 return capitalize( getAttribute( "face" ) ); 48 } 49 50 51 public void setFace( String face ) { 52 setAttribute( "face", face ); 53 } 54 55 56 public String getSize() { 57 return getAttribute( "size" ); 58 } 59 60 61 public void setSize( String size ) { 62 setAttribute( "size", size ); 63 } 64 65 66 71 public HTMLBaseFontElementImpl( HTMLDocumentImpl owner, String name ) { 72 super( owner, "BASEFONT" ); 73 } 74 75 } 76 | Popular Tags |