1 16 package org.apache.wml.dom; 17 18 import org.apache.wml.*; 19 20 25 public class WMLDoElementImpl extends WMLElementImpl implements WMLDoElement { 26 27 private static final long serialVersionUID = 3978707298497737012L; 28 29 public WMLDoElementImpl (WMLDocumentImpl owner, String tagName) { 30 super( owner, tagName); 31 } 32 33 public void setOptional(String newValue) { 34 setAttribute("optional", newValue); 35 } 36 37 public String getOptional() { 38 return getAttribute("optional"); 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 setId(String newValue) { 58 setAttribute("id", newValue); 59 } 60 61 public String getId() { 62 return getAttribute("id"); 63 } 64 65 public void setLabel(String newValue) { 66 setAttribute("label", newValue); 67 } 68 69 public String getLabel() { 70 return getAttribute("label"); 71 } 72 73 public void setType(String newValue) { 74 setAttribute("type", newValue); 75 } 76 77 public String getType() { 78 return getAttribute("type"); 79 } 80 81 public void setName(String newValue) { 82 setAttribute("name", newValue); 83 } 84 85 public String getName() { 86 return getAttribute("name"); 87 } 88 89 } 90 | Popular Tags |