1 16 package org.apache.wml.dom; 17 18 import org.apache.wml.*; 19 20 25 public class WMLAElementImpl extends WMLElementImpl implements WMLAElement { 26 27 private static final long serialVersionUID = 3618134567563966776L; 28 29 public WMLAElementImpl (WMLDocumentImpl owner, String tagName) { 30 super( owner, tagName); 31 } 32 33 public void setHref(String newValue) { 34 setAttribute("href", newValue); 35 } 36 37 public String getHref() { 38 return getAttribute("href"); 39 } 40 41 public void setClassName(String newValue) { 42 setAttribute("class", newValue); 43 } 44 45 public String getClassName() { 46 return getAttribute("class"); 47 } 48 49 public void setXmlLang(String newValue) { 50 setAttribute("xml:lang", newValue); 51 } 52 53 public String getXmlLang() { 54 return getAttribute("xml:lang"); 55 } 56 57 public void setTitle(String newValue) { 58 setAttribute("title", newValue); 59 } 60 61 public String getTitle() { 62 return getAttribute("title"); 63 } 64 65 public void setId(String newValue) { 66 setAttribute("id", newValue); 67 } 68 69 public String getId() { 70 return getAttribute("id"); 71 } 72 73 } 74 | Popular Tags |