1 57 package org.enhydra.apache.html.dom; 58 59 60 import org.enhydra.apache.xerces.dom.ElementImpl; 61 import org.w3c.dom.html.HTMLBodyElement; 62 63 64 70 public class HTMLBodyElementImpl 71 extends HTMLElementImpl 72 implements HTMLBodyElement 73 { 74 75 public String getALink() 76 { 77 return getAttribute( "alink" ); 78 } 79 80 81 public void setALink(String aLink) 82 { 83 setAttribute( "alink", aLink ); 84 } 85 86 87 public String getBackground() 88 { 89 return getAttribute( "background" ); 90 } 91 92 93 public void setBackground( String background ) 94 { 95 setAttribute( "background", background ); 96 } 97 98 99 public String getBgColor() 100 { 101 return getAttribute( "bgcolor" ); 102 } 103 104 105 public void setBgColor(String bgColor) 106 { 107 setAttribute( "bgcolor", bgColor ); 108 } 109 110 111 public String getLink() 112 { 113 return getAttribute( "link" ); 114 } 115 116 117 public void setLink(String link) 118 { 119 setAttribute( "link", link ); 120 } 121 122 123 public String getText() 124 { 125 return getAttribute( "text" ); 126 } 127 128 129 public void setText(String text) 130 { 131 setAttribute( "text", text ); 132 } 133 134 135 public String getVLink() 136 { 137 return getAttribute( "vlink" ); 138 } 139 140 141 public void setVLink(String vLink) 142 { 143 setAttribute( "vlink", vLink ); 144 } 145 146 147 152 public HTMLBodyElementImpl( HTMLDocumentImpl owner, String name ) 153 { 154 super( owner, name ); 155 } 156 157 158 } 159 160 | Popular Tags |