1 58 package org.apache.ecs.vxml; 59 60 61 66 public class Audio extends VXMLElement 67 { 68 69 73 public Audio() 74 { 75 super("audio"); 76 } 77 78 79 86 public Audio(String src, String caching, String fetchtimeout, String fetchint) 87 { 88 this(); 89 setSrc(src); 90 setCaching(caching); 91 setFetchtimeout(fetchtimeout); 92 setFetchint(fetchint); 93 } 94 95 99 public Audio(String src) 100 { 101 this(); 102 setSrc(src); 103 } 104 105 109 public Audio setSrc(String src) 110 { 111 addAttribute("src", src); 112 return this; 113 } 114 115 119 public Audio setCaching(String caching) 120 { 121 addAttribute("caching", caching); 122 return this; 123 } 124 125 129 public Audio setFetchtimeout(String fetchtimeout) 130 { 131 addAttribute("fetchtimeout", fetchtimeout); 132 return this; 133 } 134 135 139 public Audio setFetchint(String fetchint) 140 { 141 addAttribute("fetchint", fetchint); 142 return this; 143 } 144 145 146 } 147 | Popular Tags |