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