1 20 21 package org.ozoneDB.xml.dom.html; 22 23 import org.ozoneDB.xml.dom.ElementImpl; 24 import org.w3c.dom.html.HTMLUListElement; 25 26 27 33 public final class HTMLUListElementImpl extends HTMLElementImpl implements HTMLUListElement { 34 35 36 public boolean getCompact() { 37 return getAttribute( "compact" ) != null; 38 } 39 40 41 public void setCompact( boolean compact ) { 42 setAttribute( "compact", compact ? "" : null ); 43 } 44 45 46 public String getType() { 47 return getAttribute( "type" ); 48 } 49 50 51 public void setType( String type ) { 52 setAttribute( "type", type ); 53 } 54 55 56 61 public HTMLUListElementImpl( HTMLDocumentImpl owner, String name ) { 62 super( owner, "UL" ); 63 } 64 65 } 66 | Popular Tags |