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.HTMLOListElement; 27 28 29 35 public final class HTMLOListElementImpl extends HTMLElementImpl implements HTMLOListElement { 36 37 38 public boolean getCompact() { 39 return getAttribute( "compact" ) != null; 40 } 41 42 43 public void setCompact( boolean compact ) { 44 setAttribute( "compact", compact ? "" : null ); 45 } 46 47 48 public int getStart() { 49 return toInteger( getAttribute( "start" ) ); 50 } 51 52 53 public void setStart( int start ) { 54 setAttribute( "start", String.valueOf( start ) ); 55 } 56 57 58 public String getType() { 59 return getAttribute( "type" ); 60 } 61 62 63 public void setType( String type ) { 64 setAttribute( "type", type ); 65 } 66 67 68 73 public HTMLOListElementImpl( HTMLDocumentImpl owner, String name ) { 74 super( owner, "OL" ); 75 } 76 77 78 } 79 | Popular Tags |