1 58 package org.apache.ecs.vxml; 59 60 65 public class Subdialog extends VXMLElement 66 { 67 68 72 public Subdialog() 73 { 74 super("subdialog"); 75 } 76 77 78 93 public Subdialog(String name, String expr, String cond, String modal, 94 String namelist, String src, String method, String enctype, 95 String caching, String fetchint, String fetchtimeout, String fetchaudio) 96 { 97 this(); 98 setName(name); 99 setExpr(expr); 100 setCond(cond); 101 setModal(modal); 102 setNamelist(namelist); 103 setSrc(src); 104 setMethod(method); 105 setEnctype(enctype); 106 setCaching(caching); 107 setFetchint(fetchint); 108 setFetchtimeout(fetchtimeout); 109 setFetchaudio(fetchaudio); 110 } 111 112 119 public Subdialog(String name, String namelist, String src, String method) 120 { 121 this(); 122 setName(name); 123 setNamelist(namelist); 124 setSrc(src); 125 setMethod(method); 126 } 127 128 129 133 public Subdialog setName(String name) 134 { 135 addAttribute("name", name); 136 return this; 137 } 138 139 140 144 public Subdialog setExpr(String expr) 145 { 146 addAttribute("expr", expr); 147 return this; 148 } 149 150 154 public Subdialog setCond(String cond) 155 { 156 addAttribute("cond", cond); 157 return this; 158 } 159 160 164 public Subdialog setModal(String modal) 165 { 166 addAttribute("modal", modal); 167 return this; 168 } 169 170 174 public Subdialog setNamelist(String namelist) 175 { 176 addAttribute("namelist", namelist); 177 return this; 178 } 179 180 181 185 public Subdialog setSrc(String src) 186 { 187 addAttribute("src", src); 188 return this; 189 } 190 191 195 public Subdialog setMethod(String method) 196 { 197 addAttribute("method", method); 198 return this; 199 } 200 201 205 public Subdialog setEnctype(String enctype) 206 { 207 addAttribute("enctype", enctype); 208 return this; 209 } 210 211 212 216 public Subdialog setCaching(String caching) 217 { 218 addAttribute("caching", caching); 219 return this; 220 } 221 222 226 public Subdialog setFetchaudio(String fetchaudio) 227 { 228 addAttribute("fetchaudio", fetchaudio); 229 return this; 230 } 231 232 233 237 public Subdialog setFetchint(String fetchint) 238 { 239 addAttribute("fetchint", fetchint); 240 return this; 241 } 242 243 247 public Subdialog setFetchtimeout(String fetchtimeout) 248 { 249 addAttribute("fetchtimeout", fetchtimeout); 250 return this; 251 } 252 253 254 } 255 | Popular Tags |