1 16 package org.apache.html.dom; 17 18 import org.w3c.dom.html.HTMLBodyElement; 19 20 27 public class HTMLBodyElementImpl 28 extends HTMLElementImpl 29 implements HTMLBodyElement 30 { 31 32 private static final long serialVersionUID = 4120852174621454900L; 33 34 public String getALink() 35 { 36 return getAttribute( "alink" ); 37 } 38 39 40 public void setALink(String aLink) 41 { 42 setAttribute( "alink", aLink ); 43 } 44 45 46 public String getBackground() 47 { 48 return getAttribute( "background" ); 49 } 50 51 52 public void setBackground( String background ) 53 { 54 setAttribute( "background", background ); 55 } 56 57 58 public String getBgColor() 59 { 60 return getAttribute( "bgcolor" ); 61 } 62 63 64 public void setBgColor(String bgColor) 65 { 66 setAttribute( "bgcolor", bgColor ); 67 } 68 69 70 public String getLink() 71 { 72 return getAttribute( "link" ); 73 } 74 75 76 public void setLink(String link) 77 { 78 setAttribute( "link", link ); 79 } 80 81 82 public String getText() 83 { 84 return getAttribute( "text" ); 85 } 86 87 88 public void setText(String text) 89 { 90 setAttribute( "text", text ); 91 } 92 93 94 public String getVLink() 95 { 96 return getAttribute( "vlink" ); 97 } 98 99 100 public void setVLink(String vLink) 101 { 102 setAttribute( "vlink", vLink ); 103 } 104 105 106 111 public HTMLBodyElementImpl( HTMLDocumentImpl owner, String name ) 112 { 113 super( owner, name ); 114 } 115 116 117 } 118 119 | Popular Tags |