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.HTMLLIElement; 61 62 63 69 public class HTMLLIElementImpl 70 extends LazyHTMLElement 71 implements HTMLLIElement 72 { 73 74 75 public String getType() 76 { 77 return getAttribute( "type" ); 78 } 79 80 81 public void setType( String type ) 82 { 83 setAttribute( "type", type ); 84 } 85 86 87 public int getValue() 88 { 89 return getInteger( getAttribute( "value" ) ); 90 } 91 92 93 public void setValue( int value ) 94 { 95 setAttribute( "value", String.valueOf( value ) ); 96 } 97 98 99 104 public HTMLLIElementImpl( LazyHTMLDocument owner, LazyElement template, String name ) 105 { 106 super( owner, template, name ); 107 } 108 109 110 } 111 112 | Popular Tags |