1 58 package org.apache.ecs.vxml; 59 60 61 66 public class Menu extends VXMLElement 67 { 68 69 73 public Menu() 74 { 75 super("menu"); 76 } 77 78 79 85 public Menu(String id, String scope, String dtmf) 86 { 87 this(); 88 setId(id); 89 setScope(scope); 90 setDtmf(dtmf); 91 } 92 93 97 public Menu(String dtmf) 98 { 99 this(); 100 setDtmf(dtmf); 101 } 102 103 107 public Menu setId(String id) 108 { 109 addAttribute("id", id); 110 return this; 111 } 112 113 117 public Menu setScope(String scope) 118 { 119 addAttribute("scope", scope); 120 return this; 121 } 122 123 124 128 public Menu setDtmf(String dtmf) 129 { 130 addAttribute("dtmf", dtmf); 131 return this; 132 } 133 134 135 } 136 | Popular Tags |