1 20 21 package org.ozoneDB.xml.dom.html; 22 23 import org.ozoneDB.xml.dom.ElementImpl; 24 import org.w3c.dom.html.HTMLDListElement; 25 26 27 33 public final class HTMLDListElementImpl extends HTMLElementImpl implements HTMLDListElement { 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 51 public HTMLDListElementImpl( HTMLDocumentImpl owner, String name ) { 52 super( owner, "DL" ); 53 } 54 55 } 56 | Popular Tags |