1 16 package org.apache.wml.dom; 17 18 import org.apache.wml.*; 19 20 25 public class WMLOptionElementImpl extends WMLElementImpl implements WMLOptionElement { 26 27 private static final long serialVersionUID = 3257004350009129273L; 28 29 public WMLOptionElementImpl (WMLDocumentImpl owner, String tagName) { 30 super( owner, tagName); 31 } 32 33 public void setValue(String newValue) { 34 setAttribute("value", newValue); 35 } 36 37 public String getValue() { 38 return getAttribute("value"); 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 public void setOnPick(String newValue) { 74 setAttribute("onpick", newValue); 75 } 76 77 public String getOnPick() { 78 return getAttribute("onpick"); 79 } 80 81 } 82 | Popular Tags |