1 58 package org.apache.ecs.vxml; 59 60 65 public class Prompt extends VXMLElement 66 { 67 68 72 public Prompt() 73 { 74 super("prompt"); 75 } 76 77 84 public Prompt(String bargein, String cond, String count, String timeout) 85 { 86 this(); 87 setBargein(bargein); 88 setCond(cond); 89 setCount(count); 90 setTimeout(timeout); 91 } 92 93 97 public Prompt(String thePrompt) 98 { 99 this(); 100 addElement(thePrompt); 101 } 102 103 107 public Prompt setBargein(String bargein) 108 { 109 addAttribute("bargein", bargein); 110 return this; 111 } 112 113 117 public Prompt setCond(String cond) 118 { 119 addAttribute("cond", cond); 120 return this; 121 } 122 123 127 public Prompt setCount(String count) 128 { 129 addAttribute("count", count); 130 return this; 131 } 132 133 137 public Prompt setTimeout(String timeout) 138 { 139 addAttribute("timeout", timeout); 140 return this; 141 } 142 143 144 } 145 | Popular Tags |