1 16 package org.apache.html.dom; 17 18 import org.w3c.dom.html.HTMLBaseElement; 19 20 27 public class HTMLBaseElementImpl 28 extends HTMLElementImpl 29 implements HTMLBaseElement 30 { 31 32 private static final long serialVersionUID = 3257009860519409717L; 33 34 public String getHref() 35 { 36 return getAttribute( "href" ); 37 } 38 39 40 public void setHref( String href ) 41 { 42 setAttribute( "href", href ); 43 } 44 45 public String getTarget() 46 { 47 return getAttribute( "target" ); 48 } 49 50 51 public void setTarget( String target ) 52 { 53 setAttribute( "target", target ); 54 } 55 56 57 62 public HTMLBaseElementImpl( HTMLDocumentImpl owner, String name ) 63 { 64 super( owner, name ); 65 } 66 67 68 } 69 70 | Popular Tags |