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