1 57 package org.enhydra.apache.html.dom; 58 59 60 import org.enhydra.apache.xerces.dom.ElementImpl; 61 import org.w3c.dom.html.HTMLOListElement; 62 63 64 70 public class HTMLOListElementImpl 71 extends HTMLElementImpl 72 implements HTMLOListElement 73 { 74 75 76 public boolean getCompact() 77 { 78 return getBinary( "compact" ); 79 } 80 81 82 public void setCompact( boolean compact ) 83 { 84 setAttribute( "compact", compact ); 85 } 86 87 88 public int getStart() 89 { 90 return getInteger( getAttribute( "start" ) ); 91 } 92 93 94 public void setStart( int start ) 95 { 96 setAttribute( "start", String.valueOf( start ) ); 97 } 98 99 100 public String getType() 101 { 102 return getAttribute( "type" ); 103 } 104 105 106 public void setType( String type ) 107 { 108 setAttribute( "type", type ); 109 } 110 111 112 117 public HTMLOListElementImpl( HTMLDocumentImpl owner, String name ) 118 { 119 super( owner, name ); 120 } 121 122 123 } 124 125 | Popular Tags |