1 57 package org.enhydra.apache.wml.dom; 58 59 import org.enhydra.apache.wml.WMLDoElement; 60 61 65 66 public class WMLDoElementImpl extends WMLElementImpl implements WMLDoElement { 67 68 public WMLDoElementImpl (WMLDocumentImpl owner, String tagName) { 69 super( owner, tagName); 70 } 71 72 public void setOptional(String newValue) { 73 setAttribute("optional", newValue); 74 } 75 76 public String getOptional() { 77 return getAttribute("optional"); 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 setId(String newValue) { 97 setAttribute("id", newValue); 98 } 99 100 public String getId() { 101 return getAttribute("id"); 102 } 103 104 public void setLabel(String newValue) { 105 setAttribute("label", newValue); 106 } 107 108 public String getLabel() { 109 return getAttribute("label"); 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 |