1 58 59 package org.apache.ecs.wml; 60 61 import org.apache.ecs.*; 62 63 66 public class Optgroup extends org.apache.ecs.MultiPartElement implements org.apache.ecs.Printable 67 { 68 71 { 72 setElementType("optgroup"); 73 } 74 75 79 public Optgroup() 80 { 81 } 82 83 89 public Optgroup(org.apache.ecs.Element element) 90 { 91 addElement(element); 92 } 93 94 100 public Optgroup(String value) 101 { 102 addElement(value); 103 } 104 105 110 public Optgroup addElement(String hashcode,org.apache.ecs.Element element) 111 { 112 addElementToRegistry(hashcode,element); 113 return(this); 114 } 115 116 121 public Optgroup addElement(String hashcode,String element) 122 { 123 addElementToRegistry(hashcode,element); 124 return(this); 125 } 126 127 131 public Optgroup addElement(org.apache.ecs.Element element) 132 { 133 addElementToRegistry(element); 134 return(this); 135 } 136 140 public Optgroup addElement(String element) 141 { 142 addElementToRegistry(element); 143 return(this); 144 } 145 149 public Optgroup removeElement(String hashcode) 150 { 151 removeElementFromRegistry(hashcode); 152 return(this); 153 } 154 155 159 public String getTitleAttr() 160 { 161 return getAttribute("title"); 162 } 163 164 167 public Optgroup setTitleAttr(String value) 168 { 169 addAttribute("title",value); 170 return this; 171 } 172 175 public String getXml_lang() 176 { 177 return getAttribute("xml:lang"); 178 } 179 180 183 public Optgroup setXml_lang(String value) 184 { 185 addAttribute("xml:lang",value); 186 return this; 187 } 188 191 public String getId() 192 { 193 return getAttribute("id"); 194 } 195 196 199 public Optgroup setId(String value) 200 { 201 addAttribute("id",value); 202 return this; 203 } 204 207 public String getClassname() 208 { 209 return getAttribute("class"); 210 } 211 212 215 public Optgroup setClassname(String value) 216 { 217 addAttribute("class",value); 218 return this; 219 } 220 } 221 | Popular Tags |