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.HTMLCollection; 27 import org.w3c.dom.html.HTMLMapElement; 28 29 30 36 public final class HTMLMapElementImpl extends HTMLElementImpl implements HTMLMapElement { 37 38 39 public HTMLCollection getAreas() { 40 if (_areas == null) { 41 _areas = new HTMLCollectionImpl( this, HTMLCollectionImpl.AREA ); 42 } 43 return _areas; 44 } 45 46 47 public String getName() { 48 return getAttribute( "name" ); 49 } 50 51 52 public void setName( String name ) { 53 setAttribute( "name", name ); 54 } 55 56 57 62 public HTMLMapElementImpl( HTMLDocumentImpl owner, String name ) { 63 super( owner, "MAP" ); 64 } 65 66 67 private HTMLCollection _areas; 68 69 70 } 71 | Popular Tags |