1 16 package org.apache.wml.dom; 17 18 import org.apache.wml.*; 19 20 25 public class WMLImgElementImpl extends WMLElementImpl implements WMLImgElement { 26 27 private static final long serialVersionUID = 3257562888998040112L; 28 29 public WMLImgElementImpl (WMLDocumentImpl owner, String tagName) { 30 super( owner, tagName); 31 } 32 33 public void setWidth(String newValue) { 34 setAttribute("width", newValue); 35 } 36 37 public String getWidth() { 38 return getAttribute("width"); 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 setLocalSrc(String newValue) { 58 setAttribute("localsrc", newValue); 59 } 60 61 public String getLocalSrc() { 62 return getAttribute("localsrc"); 63 } 64 65 public void setHeight(String newValue) { 66 setAttribute("height", newValue); 67 } 68 69 public String getHeight() { 70 return getAttribute("height"); 71 } 72 73 public void setAlign(String newValue) { 74 setAttribute("align", newValue); 75 } 76 77 public String getAlign() { 78 return getAttribute("align"); 79 } 80 81 public void setVspace(String newValue) { 82 setAttribute("vspace", newValue); 83 } 84 85 public String getVspace() { 86 return getAttribute("vspace"); 87 } 88 89 public void setAlt(String newValue) { 90 setAttribute("alt", newValue); 91 } 92 93 public String getAlt() { 94 return getAttribute("alt"); 95 } 96 97 public void setId(String newValue) { 98 setAttribute("id", newValue); 99 } 100 101 public String getId() { 102 return getAttribute("id"); 103 } 104 105 public void setHspace(String newValue) { 106 setAttribute("hspace", newValue); 107 } 108 109 public String getHspace() { 110 return getAttribute("hspace"); 111 } 112 113 public void setSrc(String newValue) { 114 setAttribute("src", newValue); 115 } 116 117 public String getSrc() { 118 return getAttribute("src"); 119 } 120 121 } 122 | Popular Tags |