1 57 package org.enhydra.apache.html.dom; 58 59 60 import org.enhydra.apache.xerces.dom.ElementImpl; 61 import org.w3c.dom.html.HTMLLIElement; 62 63 64 70 public class HTMLLIElementImpl 71 extends HTMLElementImpl 72 implements HTMLLIElement 73 { 74 75 76 public String getType() 77 { 78 return getAttribute( "type" ); 79 } 80 81 82 public void setType( String type ) 83 { 84 setAttribute( "type", type ); 85 } 86 87 88 public int getValue() 89 { 90 return getInteger( getAttribute( "value" ) ); 91 } 92 93 94 public void setValue( int value ) 95 { 96 setAttribute( "value", String.valueOf( value ) ); 97 } 98 99 100 105 public HTMLLIElementImpl( HTMLDocumentImpl owner, String name ) 106 { 107 super( owner, name ); 108 } 109 110 111 } 112 113 | Popular Tags |