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