1 57 package org.enhydra.xml.lazydom.html; 58 import org.enhydra.xml.lazydom.LazyElement; 59 import org.enhydra.xml.lazydom.LazyElementNoNS; 60 import org.w3c.dom.html.HTMLBaseElement; 61 62 63 69 public class HTMLBaseElementImpl 70 extends LazyHTMLElement 71 implements HTMLBaseElement 72 { 73 74 75 public String getHref() 76 { 77 return getAttribute( "href" ); 78 } 79 80 81 public void setHref( String href ) 82 { 83 setAttribute( "href", href ); 84 } 85 86 public String getTarget() 87 { 88 return getAttribute( "target" ); 89 } 90 91 92 public void setTarget( String target ) 93 { 94 setAttribute( "target", target ); 95 } 96 97 98 103 public HTMLBaseElementImpl( LazyHTMLDocument owner, LazyElement template, String name ) 104 { 105 super( owner, template, name ); 106 } 107 108 109 } 110 111 | Popular Tags |