1 57 package org.enhydra.apache.html.dom; 58 59 60 import org.enhydra.apache.xerces.dom.ElementImpl; 61 import org.w3c.dom.html.HTMLHRElement; 62 63 64 70 public class HTMLHRElementImpl 71 extends HTMLElementImpl 72 implements HTMLHRElement 73 { 74 75 76 public String getAlign() 77 { 78 return capitalize( getAttribute( "align" ) ); 79 } 80 81 82 public void setAlign( String align ) 83 { 84 setAttribute( "align", align ); 85 } 86 87 88 public boolean getNoShade() 89 { 90 return getBinary( "noshade" ); 91 } 92 93 94 public void setNoShade( boolean noShade ) 95 { 96 setAttribute( "noshade", noShade ); 97 } 98 99 100 public String getSize() 101 { 102 return getAttribute( "size" ); 103 } 104 105 106 public void setSize( String size ) 107 { 108 setAttribute( "size", size ); 109 } 110 111 112 public String getWidth() 113 { 114 return getAttribute( "width" ); 115 } 116 117 118 public void setWidth( String width ) 119 { 120 setAttribute( "width", width ); 121 } 122 123 124 129 public HTMLHRElementImpl( HTMLDocumentImpl owner, String name ) 130 { 131 super( owner, name ); 132 } 133 134 135 } 136 137 | Popular Tags |