1 58 package org.apache.ecs.vxml; 59 60 65 public class Script extends VXMLElement 66 { 67 68 72 public Script() 73 { 74 super("script"); 75 } 76 77 78 86 public Script(String src, String charset, String caching, String fetchint, String fetchtimeout) 87 { 88 this(); 89 setSrc(src); 90 setCharset(charset); 91 setCaching(caching); 92 setFetchint(fetchint); 93 setFetchtimeout(fetchtimeout); 94 } 95 96 97 101 public Script setSrc(String src) 102 { 103 addAttribute("src", src); 104 return this; 105 } 106 107 111 public Script setCharset(String charset) 112 { 113 addAttribute("charset", charset); 114 return this; 115 } 116 117 121 public Script setCaching(String caching) 122 { 123 addAttribute("caching", caching); 124 return this; 125 } 126 127 131 public Script setFetchint(String fetchint) 132 { 133 addAttribute("fetchint", fetchint); 134 return this; 135 } 136 137 141 public Script setFetchtimeout(String fetchtimeout) 142 { 143 addAttribute("fetchtimeout", fetchtimeout); 144 return this; 145 } 146 147 } 148 | Popular Tags |