1 57 package com.sun.org.apache.html.internal.dom; 58 59 60 import org.w3c.dom.html.HTMLBaseElement; 61 62 63 69 public class HTMLBaseElementImpl 70 extends HTMLElementImpl 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( HTMLDocumentImpl owner, String name ) 104 { 105 super( owner, name ); 106 } 107 108 109 } 110 111 | Popular Tags |