1 16 package org.apache.html.dom; 17 18 import org.w3c.dom.html.HTMLHRElement; 19 20 27 public class HTMLHRElementImpl 28 extends HTMLElementImpl 29 implements HTMLHRElement 30 { 31 32 private static final long serialVersionUID = 3257283617338963251L; 33 34 public String getAlign() 35 { 36 return capitalize( getAttribute( "align" ) ); 37 } 38 39 40 public void setAlign( String align ) 41 { 42 setAttribute( "align", align ); 43 } 44 45 46 public boolean getNoShade() 47 { 48 return getBinary( "noshade" ); 49 } 50 51 52 public void setNoShade( boolean noShade ) 53 { 54 setAttribute( "noshade", noShade ); 55 } 56 57 58 public String getSize() 59 { 60 return getAttribute( "size" ); 61 } 62 63 64 public void setSize( String size ) 65 { 66 setAttribute( "size", size ); 67 } 68 69 70 public String getWidth() 71 { 72 return getAttribute( "width" ); 73 } 74 75 76 public void setWidth( String width ) 77 { 78 setAttribute( "width", width ); 79 } 80 81 82 87 public HTMLHRElementImpl( HTMLDocumentImpl owner, String name ) 88 { 89 super( owner, name ); 90 } 91 92 93 } 94 95 | Popular Tags |