1 58 package org.apache.ecs.vxml; 59 60 65 public class Submit extends VXMLElement 66 { 67 68 72 public Submit() 73 { 74 super("submit"); 75 } 76 77 78 82 public Submit(String next) 83 { 84 this(); 85 setNext(next); 86 } 87 88 89 94 public Submit(String next, String namelist) 95 { 96 this(); 97 setNext(next); 98 setNamelist(namelist); 99 } 100 101 102 108 public Submit(String next, String method, String namelist) 109 { 110 this(); 111 setNext(next); 112 setMethod(method); 113 setNamelist(namelist); 114 } 115 116 117 125 public Submit(String next, String method, String namelist, String fetchtimeout, String fetchaudio) 126 { 127 this(); 128 setNext(next); 129 setMethod(method); 130 setNamelist(namelist); 131 setFetchtimeout(fetchtimeout); 132 setFetchaudio(fetchaudio); 133 } 134 135 136 140 public Submit setNext(String next) 141 { 142 addAttribute("next", next); 143 return this; 144 } 145 146 147 151 public Submit setExpr(String expr) 152 { 153 addAttribute("expr", expr); 154 return this; 155 } 156 157 161 public Submit setNamelist(String namelist) 162 { 163 addAttribute("namelist", namelist); 164 return this; 165 } 166 167 168 172 public Submit setMethod(String method) 173 { 174 addAttribute("method", method); 175 return this; 176 } 177 178 179 183 public Submit setEnctype(String enctype) 184 { 185 addAttribute("enctype", enctype); 186 return this; 187 } 188 189 190 194 public Submit setCaching(String caching) 195 { 196 addAttribute("caching", caching); 197 return this; 198 } 199 200 204 public Submit setFetchaudio(String fetchaudio) 205 { 206 addAttribute("fetchaudio", fetchaudio); 207 return this; 208 } 209 210 211 215 public Submit setFetchint(String fetchint) 216 { 217 addAttribute("fetchint", fetchint); 218 return this; 219 } 220 221 225 public Submit setFetchtimeout(String fetchtimeout) 226 { 227 addAttribute("fetchtimeout", fetchtimeout); 228 return this; 229 } 230 231 232 233 } 234 | Popular Tags |