1 22 package org.enhydra.wireless.wml.dom.xerces; 23 24 import org.enhydra.wireless.wml.dom.WMLInputElement; 25 26 public class WMLInputElementImpl extends WMLElementImpl implements WMLInputElement { 27 28 public WMLInputElementImpl(WMLDocumentImpl owner, String namespaceURI, String qualifiedName) { 29 super(owner, namespaceURI, qualifiedName); 30 } 31 32 public void setSize(int newValue) { 33 setAttribute("size", newValue); 34 } 35 36 public int getSize() { 37 return getAttribute("size", 0); 38 } 39 40 public void setFormat(String newValue) { 41 setAttribute("format", newValue); 42 } 43 44 public String getFormat() { 45 return getAttribute("format"); 46 } 47 48 public void setValue(String newValue) { 49 setAttribute("value", newValue); 50 } 51 52 public String getValue() { 53 return getAttribute("value"); 54 } 55 56 public void setMaxLength(int newValue) { 57 setAttribute("maxlength", newValue); 58 } 59 60 public int getMaxLength() { 61 return getAttribute("maxlength", 0); 62 } 63 64 public void setTabIndex(int newValue) { 65 setAttribute("tabindex", newValue); 66 } 67 68 public int getTabIndex() { 69 return getAttribute("tabindex", 0); 70 } 71 72 public void setClassName(String newValue) { 73 setAttribute("class", newValue); 74 } 75 76 public String getClassName() { 77 return getAttribute("class"); 78 } 79 80 public void setXmlLang(String newValue) { 81 setAttribute("xml:lang", newValue); 82 } 83 84 public String getXmlLang() { 85 return getAttribute("xml:lang"); 86 } 87 88 public void setEmptyOk(boolean newValue) { 89 setAttribute("emptyok", newValue); 90 } 91 92 public boolean getEmptyOk() { 93 return getAttribute("emptyok", false); 94 } 95 96 public void setTitle(String newValue) { 97 setAttribute("title", newValue); 98 } 99 100 public String getTitle() { 101 return getAttribute("title"); 102 } 103 104 public void setId(String newValue) { 105 setAttribute("id", newValue); 106 } 107 108 public String getId() { 109 return getAttribute("id"); 110 } 111 112 public void setType(String newValue) { 113 setAttribute("type", newValue); 114 } 115 116 public String getType() { 117 return getAttribute("type"); 118 } 119 120 public void setName(String newValue) { 121 setAttribute("name", newValue); 122 } 123 124 public String getName() { 125 return getAttribute("name"); 126 } 127 128 } 129
| Popular Tags
|