1 16 package org.apache.wml.dom; 17 18 import org.apache.wml.*; 19 20 25 public class WMLSelectElementImpl extends WMLElementImpl implements WMLSelectElement { 26 27 private static final long serialVersionUID = 3905808595126661684L; 28 29 public WMLSelectElementImpl (WMLDocumentImpl owner, String tagName) { 30 super( owner, tagName); 31 } 32 33 public void setMultiple(boolean newValue) { 34 setAttribute("multiple", newValue); 35 } 36 37 public boolean getMultiple() { 38 return getAttribute("multiple", false); 39 } 40 41 public void setValue(String newValue) { 42 setAttribute("value", newValue); 43 } 44 45 public String getValue() { 46 return getAttribute("value"); 47 } 48 49 public void setTabIndex(int newValue) { 50 setAttribute("tabindex", newValue); 51 } 52 53 public int getTabIndex() { 54 return getAttribute("tabindex", 0); 55 } 56 57 public void setClassName(String newValue) { 58 setAttribute("class", newValue); 59 } 60 61 public String getClassName() { 62 return getAttribute("class"); 63 } 64 65 public void setXmlLang(String newValue) { 66 setAttribute("xml:lang", newValue); 67 } 68 69 public String getXmlLang() { 70 return getAttribute("xml:lang"); 71 } 72 73 public void setTitle(String newValue) { 74 setAttribute("title", newValue); 75 } 76 77 public String getTitle() { 78 return getAttribute("title"); 79 } 80 81 public void setIValue(String newValue) { 82 setAttribute("ivalue", newValue); 83 } 84 85 public String getIValue() { 86 return getAttribute("ivalue"); 87 } 88 89 public void setId(String newValue) { 90 setAttribute("id", newValue); 91 } 92 93 public String getId() { 94 return getAttribute("id"); 95 } 96 97 public void setIName(String newValue) { 98 setAttribute("iname", newValue); 99 } 100 101 public String getIName() { 102 return getAttribute("iname"); 103 } 104 105 public void setName(String newValue) { 106 setAttribute("name", newValue); 107 } 108 109 public String getName() { 110 return getAttribute("name"); 111 } 112 } 113 | Popular Tags |