1 58 package org.apache.ecs.vxml; 59 60 65 public class Vxml extends VXMLElement 66 { 67 68 72 public Vxml() 73 { 74 super("vxml"); 75 } 76 77 78 85 public Vxml(String version, String base, String lang, String application) 86 { 87 this(); 88 setVersion(version); 89 setBase(base); 90 set_Lang(lang); 91 setApplication(application); 92 } 93 94 98 public Vxml(String version) 99 { 100 this(); 101 setVersion(version); 102 } 103 104 109 public Vxml(String version, String application) 110 { 111 this(); 112 setVersion(version); 113 setApplication(application); 114 } 115 116 117 121 public Vxml setVersion(String version) 122 { 123 addAttribute("version", version); 124 return this; 125 } 126 127 131 public Vxml setBase(String base) 132 { 133 addAttribute("base", base); 134 return this; 135 } 136 137 141 public Vxml set_Lang(String lang) 142 { 143 addAttribute("lang", lang); 144 return this; 145 } 146 147 151 public Vxml setApplication(String application) 152 { 153 addAttribute("application", application); 154 return this; 155 } 156 157 158 } 159 | Popular Tags |