1 57 package org.enhydra.apache.wml.dom; 58 59 import org.enhydra.apache.wml.WMLImgElement; 60 61 65 66 public class WMLImgElementImpl extends WMLElementImpl implements WMLImgElement { 67 68 public WMLImgElementImpl (WMLDocumentImpl owner, String tagName) { 69 super( owner, tagName); 70 } 71 72 public void setWidth(String newValue) { 73 setAttribute("width", newValue); 74 } 75 76 public String getWidth() { 77 return getAttribute("width"); 78 } 79 80 public void setClassName(String newValue) { 81 setAttribute("class", newValue); 82 } 83 84 public String getClassName() { 85 return getAttribute("class"); 86 } 87 88 public void setXmlLang(String newValue) { 89 setAttribute("xml:lang", newValue); 90 } 91 92 public String getXmlLang() { 93 return getAttribute("xml:lang"); 94 } 95 96 public void setLocalSrc(String newValue) { 97 setAttribute("localsrc", newValue); 98 } 99 100 public String getLocalSrc() { 101 return getAttribute("localsrc"); 102 } 103 104 public void setHeight(String newValue) { 105 setAttribute("height", newValue); 106 } 107 108 public String getHeight() { 109 return getAttribute("height"); 110 } 111 112 public void setAlign(String newValue) { 113 setAttribute("align", newValue); 114 } 115 116 public String getAlign() { 117 return getAttribute("align"); 118 } 119 120 public void setVspace(String newValue) { 121 setAttribute("vspace", newValue); 122 } 123 124 public String getVspace() { 125 return getAttribute("vspace"); 126 } 127 128 public void setAlt(String newValue) { 129 setAttribute("alt", newValue); 130 } 131 132 public String getAlt() { 133 return getAttribute("alt"); 134 } 135 136 public void setId(String newValue) { 137 setAttribute("id", newValue); 138 } 139 140 public String getId() { 141 return getAttribute("id"); 142 } 143 144 public void setHspace(String newValue) { 145 setAttribute("hspace", newValue); 146 } 147 148 public String getHspace() { 149 return getAttribute("hspace"); 150 } 151 152 public void setSrc(String newValue) { 153 setAttribute("src", newValue); 154 } 155 156 public String getSrc() { 157 return getAttribute("src"); 158 } 159 160 } 161 | Popular Tags |