1 20 21 22 package org.ozoneDB.xml.dom.html; 23 24 25 import org.ozoneDB.xml.dom.ElementImpl; 26 import org.w3c.dom.html.HTMLLIElement; 27 28 29 35 public final class HTMLLIElementImpl extends HTMLElementImpl implements HTMLLIElement { 36 37 38 public String getType() { 39 return getAttribute( "type" ); 40 } 41 42 43 public void setType( String type ) { 44 setAttribute( "type", type ); 45 } 46 47 48 public int getValue() { 49 return toInteger( getAttribute( "value" ) ); 50 } 51 52 53 public void setValue( int value ) { 54 setAttribute( "value", String.valueOf( value ) ); 55 } 56 57 58 63 public HTMLLIElementImpl( HTMLDocumentImpl owner, String name ) { 64 super( owner, "LI" ); 65 } 66 67 68 } 69 | Popular Tags |