1 16 package org.apache.html.dom; 17 18 import org.w3c.dom.html.HTMLOListElement; 19 20 27 public class HTMLOListElementImpl 28 extends HTMLElementImpl 29 implements HTMLOListElement 30 { 31 32 private static final long serialVersionUID = 3544958748826349621L; 33 34 public boolean getCompact() 35 { 36 return getBinary( "compact" ); 37 } 38 39 40 public void setCompact( boolean compact ) 41 { 42 setAttribute( "compact", compact ); 43 } 44 45 46 public int getStart() 47 { 48 return getInteger( getAttribute( "start" ) ); 49 } 50 51 52 public void setStart( int start ) 53 { 54 setAttribute( "start", String.valueOf( start ) ); 55 } 56 57 58 public String getType() 59 { 60 return getAttribute( "type" ); 61 } 62 63 64 public void setType( String type ) 65 { 66 setAttribute( "type", type ); 67 } 68 69 70 75 public HTMLOListElementImpl( HTMLDocumentImpl owner, String name ) 76 { 77 super( owner, name ); 78 } 79 80 81 } 82 83 | Popular Tags |